Create a new $_COOKIE["PHPSESSID"] in PHP4.3.1
| From: | zzapper | Date: | Tue, 06 Sep 2005 16:39:20 +0000 |
| Subject: | Create a new $_COOKIE["PHPSESSID"] in PHP4.3.1 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-221915@lists.php.net to get a copy of this message | ||
Hi,
Php 4,3,2 has a regenerate session id function session_regenerate_id
un4tunately I 'm stuck with 4.3.1
The following doesn't seem to work
// Unset session data
$_SESSION=array();
// Clear cookie
unset($_COOKIE[session_name()]);
// Destroy session data
session_destroy();
Unless I close and reopen IE I always get the same session Id
Can ye help?
--
zzapper
Success for Techies and Vim,Zsh tips
http://SuccessTheory.com/