this is a client side issue, not a server side (php) issue. when a page is called, php
is loaded, everything is worked out and php echo's the data requested, then php
closes. this is the key, php closes. why should it keep running, its done its job.
when the user goes to a new page, php is again called. if the user hits the back
button is clicked the previous page is re-loaded, but here is where the browser
faults, the page is re-loaded but the client does not re-send the data. it is in no
way php's fault that a clients browser does not re-send the data.
IE will at least warn you that you will have to click yes to have the data re-sent.
netscape/opera will not, they just wont send the data. what you can do to fix/patch
this is to use method='get' vs method='post' because the previous page will now
contain all the data in the url, the data will be re-sent. of course you now have alot
of GET problems, like no spaces in your variable values, etc etc. you know all about
those though.
I often here "php is ding this wrong, why does php do this, why is php pissing me off"
haha. just think of this. "php is good, if what you are experiencing is bad, its your
fault or your browsers, not php's, blame the browser" haha j/k
--
Chris Lee
[EMAIL PROTECTED]
"Carfield Yim" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Why the data in HTML form lost when the user press back button? And I
find that this problem only exist if I use session_start() to enable
session variable. But I can't disable it because the user information in
session useful in every pages
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]