Sessions & Logout
| From: | dempsejn at georgetown dot edu | Date: | Wed, 15 Nov 2000 15:44:46 +0000 |
| Subject: | Sessions & Logout | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-25457@lists.php.net to get a copy of this message | ||
Hi all,
I'm using sessions, and after a couple dumb mistakes, they're turning
out to be pretty simple. Logging out's easy too. What about window
closing? I'd love to mimic what hotmail does when you close the window
and open a new one, because try as I might, staff here will just NOT hit
that logout button...I've come up with a pretty bad method of using an
onUnload javascript call to a php file that does the logging out...how
should this really be done? Destroy a cookie with javascript?
Any info would be much appreciated.
Jack Dempsey