RE: [PHP] How to destroy session ID
| From: | Afan Pasalic | Date: | Fri, 20 Aug 2004 12:25:53 +0000 |
| Subject: | RE: [PHP] How to destroy session ID | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194320@lists.php.net to get a copy of this message | ||
Try with
session_unset();
it works for me...
-----Original Message-----
From: khuram noman [mailto:khuram_noman@yahoo.com]
Sent: Friday, August 20, 2004 5:39 AM
To: php-general@lists.php.net
Subject: [PHP] How to destroy session ID
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
Thanks
Khuram Noman
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php