Khuram Noman wrote:

> 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

This happens if session ID is stored in cookie. You need to force page
reload so client rereads its cookies.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to