I was looking at the functionality of session_unset. Currently if register globals is on it will get rid of all variables and it also clears out PS(http_session_vars).. should it also get rid of PS(vars)?
I have a script that changes the session id a few times thruought the live of the script. The problem is that it keeps the variables in PS(vars) so when i call session_encode(), (which reads PS(vars)) I get some old session vars.. ex.. <? session_id("1234"); session_start(); $_SESSION['test']++; var_dump(session_encode()); session_write_close(); session_unset(); session_id("12345"); session_start(); var_dump(session_encode()); // this will have data for "test" ?> After looking thru the session functions i don't see any of them that clear out PS(vars). - Brad __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php