I thought that session variables (unless set to cookie as well) WERE
destroyed at the end of a session? As in when the user closes the browser?
Hrms. Maybe not.
Anyway, don't know about when the window is closed, but you could have a
log-out page that uses session_destroy();
James.
> I would like the session variable to be deleted when the user closes their
> browser. Any ideas on how this is done.
>
>
> Ryan Conover
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]