note 45057 rejected from function.session-is-registered by betz
| From: | betz@php.net | Date: | Tue, 24 Aug 2004 18:36:23 +0000 |
| Subject: | note 45057 rejected from function.session-is-registered by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75215@lists.php.net to get a copy of this message | ||
Note Submitter: spl0it at msn dot com
----
To loop through the session and unset all the variables use...
// Delete session
foreach( $_SESSION as $key => $value )
{
eval( "unset( \$_SESSION['".$key."'], \$".$key." );"
);
}