Re: [PHP-DB] Session questions

2002-11-27 Thread Marco Tabini
Here's a couple of suggestions: 1) You can use javascript to trap the window's closure and create a new window that simply calls one of your scripts that closes the session. This is not 100% foolproof, however, so you need to come up with a backup plan, like closing sessions automatically with a b

RE: [PHP-DB] Session questions

2002-11-27 Thread John W. Holmes
> I have a login system which uses sessions, and when people login it puts > the date they logged in in their profile and moves their last login date > over to another field, that works fine, but how can I check if someone has > logged out via code? In other words, if someone does what they want