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
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
3 matches
Mail list logo