session_destroy();

From: Date: Tue, 09 Nov 2004 06:00:12 +0000
Subject: session_destroy();
Groups: php.db 
Request: Send a blank email to php-db+get-37197@lists.php.net to get a copy of this message
Hi there everyone, I need to destroy a session in the browser so when they log out it clears all the session data from the browser, I have tried: session_destroy(); But it doesn’t seem to do it as the browser keeps the same PHPSessionID. What is the best way to destroy a session and generate a new sessionid without having to close the browser and go back again? Chris --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.791 / Virus Database: 535 - Release Date: 11/8/2004

« previous php.db (#37197) next »