Re: How to delete session variables
| From: | James, Yz | Date: | Tue, 20 Feb 2001 23:20:41 +0000 |
| Subject: | Re: How to delete session variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40850@lists.php.net to get a copy of this message | ||
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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>