Re: killing a session
| From: | Phillip Bow | Date: | Thu, 19 Apr 2001 21:55:56 +0000 |
| Subject: | Re: killing a session | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49434@lists.php.net to get a copy of this message | ||
Check out http://php.net/manual/en/function.session-destroy.php
--
phill
""Ellis Heckman"" <eheckman@sigmathree.com> wrote in message
news:4120014419215311900@sigmathree.com...
> This does seem to work well. Thanks a lot.
>
> unlink(session_save_path().'/sess_'.$PHPSESSID);
> setcookie('PHPSESSID','',time()-3600,'/');
>
> Ellis Heckman
> eheckman@sigmathree.com
> http://www.sigmathree.com/
>
>
> --
> 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
>