note 35482 deleted from function.session-destroy by vincent

From: Date: Tue, 02 Sep 2003 17:19:49 +0000
Subject: note 35482 deleted from function.session-destroy by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-55487@lists.php.net to get a copy of this message
Note Submitter: supastah@gmx.de ---- Put this on your login site to create a new session: session_start(); // takes the old session or creates a new. So you don't get a erro if no session exists session_unset();// Unsets all Variables session_destroy();// Destroys the old or started session session_start();// Creates a new session

« previous php.notes (#55487) next »