SV: [PHP] session_destroy
| From: | H�kan Askengren | Date: | Fri, 19 Jan 2001 18:55:57 +0000 |
| Subject: | SV: [PHP] session_destroy | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35687@lists.php.net to get a copy of this message | ||
I always call unset before destroy. Worked fine when I had problems with
destroy.
<?
session_unset(); // Unset global variables in session before destroy
session_destroy();
?>
/Håkan
Brandon Orther <brandon@webintellects.com> skrev i
diskussionsgruppsmeddelandet:CKEMJEADMOCEHPHJKLPAGEGLCDAA.brandon@webintelle
cts.com...
> Hello Everyone,
>
> Can someone please give me example code on how to use session_destroy
> because I can not get it to work. Also if you have an example for
> gc_probability I would love that too. Thank You :)
>
> Thank you,
>
> --------------------------------------------
> Brandon Orther
> WebIntellects Design/Development Manager
> brandon@webintellects.com
> 800-994-6364
> www.webintellects.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
>