Destroying Ssessions
| From: | Richard Baskett | Date: | Thu, 01 Nov 2001 23:02:48 +0000 |
| Subject: | Destroying Ssessions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73195@lists.php.net to get a copy of this message | ||
Unusual that I didnt even get one response, so I shall try again! :)
Ok why does this not work?
session_name(adminid);
session_start();
unset($sess);
session_unset();
session_destroy();
session_write_close();
$sess = 0;
etc etc etc etc etc etc..
After all that is executed I take a look at the session file and what do I
see? All the session variables still there... and the file still there
also! How can I get rid of them?
Rick