For the basic logout, it's very easy.
Store a session variable which is the "last active time". Initialize
it to the current time when the user logs in.
Each time a page loads, start the session and check current time
against the last active time. If the difference is over the limit,
display
I do not think there is really any way around the dual login from the
same browser issue.
As for the auto-logout I have a suggestion. I have the same set-up for
one of my sites. I have a session MySQL database and I track the id of
a user once they login and then that record is updated with a
Hi
I wanted to implement an auto-logout feature for my project so that if
a terminal is left unattended for say 10 minutes, it should
automatically logoff the user. Apart from this, there is another
problem that I am encountering with my authentication scheme, the
scene is as follows :
(1) I am usi
On Monday, June 24, 2002, at 11:14 AM, Hawk wrote:
> I have a login, and when users are logged on, it should show in some
> way on
> the page, that's not the problem, it is to show that they are logged off
> when they are, often people forget to press the logout button, and the
> mysql
> data
I have a login, and when users are logged on, it should show in some way on
the page, that's not the problem, it is to show that they are logged off
when they are, often people forget to press the logout button, and the mysql
database is unchanged, saying they are still logged on, how can I do so
5 matches
Mail list logo