note 6537 modified in session_unset by ronabop

From: Date: Thu, 31 Aug 2000 05:41:41 +0000
Subject: note 6537 modified in session_unset by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-3736@lists.php.net to get a copy of this message
session_unset() vs. session_destroy(): I would say that the difference is that session_destroy() destroys the session variables, both in the script and where the session data is stored on disk. session_unset() is like doing a session_unregister() on all registered variables. They can still be re-registered by calling session_register() whereas after session_destroy, they cannot. http://www.php.net/manual/function.session-unset.php

« previous php.notes (#3736) next »