Re: [PHP] Create a new $_COOKIE[PHPSESSID] in PHP4.3.1

2005-09-08 Thread Steffen Stollfuß
hy try this $sess_id = session_id(); // Unset all Session Vars session_unset(); // Destroy Session session_destroy(); /* // Get session file and delete it !!! if (strtolower('files' == session_module_name())) {

[PHP] Create a new $_COOKIE[PHPSESSID] in PHP4.3.1

2005-09-06 Thread zzapper
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