note 73142 deleted from function.unset by philip
| From: | philip@php.net | Date: | Sat, 10 Feb 2007 20:55:04 +0000 |
| Subject: | note 73142 deleted from function.unset by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-123225@lists.php.net to get a copy of this message | ||
Note Submitter: rbemrose at vgmusic dot com
----
dibakar dot datta at gmail dot com:
I know this is old, but in case someone else reads this...
Rather than using unset($_SESSION), you should use
session_destroy();
See the session_destroy() page for additional notes about clearing sessions.