I've used the following script from the help file. It works fine BUT
when I recreate the session (in the same script) the session file is
created with the same file name (and the creation date is the original
date). So is it really being deleted or is it just hanging about (like
the evil dead) in a cache waiting to walk again?
session_start();
$_SESSION = array();
if (isset($_COOKIE[session_name()])) {
setcookie(session_name(), '', time()-42000, '/');
}
session_destroy();
I've tried adding a call to session_write_close(); but no joy.
Any advice would be appreciated.
graeme.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php