Date: 11/15/00
- Next message: David Robley: "Re: [PHP] Re: PHP & MySQL: search features"
- Previous message: Steven Holloway: "RE: [PHP] Dreamweaver 4 ignores PHP - again"
- In reply to: dempsejn <email protected>: "[PHP] Sessions & Logout"
- Next in thread: Jack Dempsey: "RE: [PHP] Sessions & Logout"
- Reply: Jack Dempsey: "RE: [PHP] Sessions & Logout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
If the lifetime of the cookie is zero, which it is by default, then it
automatically deletes itself when the browser closes.
----- Original Message -----
From: <dempsejn <email protected>>
To: <php-general <email protected>>
Sent: Wednesday, November 15, 2000 10:44 AM
Subject: [PHP] Sessions & Logout
> 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
>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: David Robley: "Re: [PHP] Re: PHP & MySQL: search features"
- Previous message: Steven Holloway: "RE: [PHP] Dreamweaver 4 ignores PHP - again"
- In reply to: dempsejn <email protected>: "[PHP] Sessions & Logout"
- Next in thread: Jack Dempsey: "RE: [PHP] Sessions & Logout"
- Reply: Jack Dempsey: "RE: [PHP] Sessions & Logout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

