Session
On the temporary processing method of the session cannot be automatically removed
The problem is:
"PHP session will always keep the user entered when the first entry information, even if you return to the landing screen will not change the landing!" This problem I found in the php4.02, in the latest PHP 4.03PL1 test still failed! Only the user shuts down IE browser, open IE window again can eliminate session content
Temporary workaround:
When the form is submitted, do not register the form to submit the variable, assign the variable to another variable $x, register the $x, so that the return to the landing screen can be changed again. To be insured, you can delete the variable $x at the top of the page on the landing.
Examples are as follows: This section is part of my chat room landing.
1 landing page transfer $name, $pass
2 login.php can handle this.
?
$save _name = $name;
$save _pass = $pass;
Session_Start ();
Session_register ("name");
Session_register ("Pass");
$name = $save _name;
$pass = $save _pass;
......
?>