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 <[EMAIL PROTECTED]> 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
> [EMAIL PROTECTED]
> 800-994-6364
> www.webintellects.com
> --------------------------------------------
>
>
> --
> 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]

Reply via email to