November 3rd, 2000, 09:03 AM
After a SESSION_DESTROY, when do I call a SESSION_START, would not it be for him to create another ID?
My problem is ...
I have a page where I register some variables of a form and other page that it is to finish the session.
In the page of LOGOUT I do
The one that happens is that when I make LOGIN again, PHP takes advantage of SESSID and consequently the variables.
In other words, the variables are not destroyed with the session_destroy ()
echo '<a href="logout.php?PHPSESSID='.session_id().'"> LOGOUT </a>';
echo '<a href="form.php">LOGIN</a>';
The one that happens is that when I return give login again he takes advantage the old session again, in other words, the sessionid and the variable previous EMAIL2, he doesn't create a new ID, or at least it cleans all the variables after a session_unset() and session_destroy().
I am using PHP4. 0. 1 AND IIS5.