Re: How to destroy session ID
| From: | Matt M. | Date: | Fri, 20 Aug 2004 13:01:47 +0000 |
| Subject: | Re: How to destroy session ID | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194323@lists.php.net to get a copy of this message | ||
On Fri, 20 Aug 2004 03:23:48 -0700 (PDT), khuram noman
<khuram_noman@yahoo.com> wrote:
> hello
>
> i have problem in destroying session id, i use the
> following code
>
> <?
> session_start();
> print "before Destroy".session_id();
> session_destroy() ;
>
> session_start();
> print "After Destroy".session_id();
>
> ?>
>
> in before and after it prints the same sessionID so
> how to destroy session id . waiting for soon reply
you could try http://us4.php.net/session_regenerate_id