Logout Problem ASP
Hi
I am having problems logging off the user (in terms of the database) when the user navigates to a new URL.
I cannot log him off onunload event or 'Onclose' event.
The problem is to update the status of the user in the database to inactive on two conditions specifically:-
1. Session Timeout.
2. When the user navigates to a new URL.
The session timeout is working and the user gets redirected to the login page after timeout as i had put a check for it.
The problem is updating the database where the users status is still active.
I have managed to logoff the user when he closes the application window.
But the above two stated problems still baffle me.
I am using an access database.
The problem is to connect to the database on session timeout or new site navigation.
Thanks for viewing this post,
Chaitanya
|