Re: PHP 4 session's probelm/design issue ?

From: Date: Thu, 07 Dec 2000 04:32:47 +0000
Subject: Re: PHP 4 session's probelm/design issue ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-29058@lists.php.net to get a copy of this message
The browser may be seeing the ?PHP_SESSID or whatever it is in the URL, and therefore assuming the data is dynamic, and invalid... So try adding headers to convince the browser that the data has a longer life-time, or move the session ID to a HIDDEN INPUT instead of the URL. ----- Original Message ----- From: "Chan Wai Wai" <chanww@globalsources.com> Newsgroups: php.general Sent: Wednesday, December 06, 2000 9:47 PM Subject: [PHP] PHP 4 session's probelm/design issue ? > Hi folks, > > Here is the issue I encountered using the session feature in PHP 4.02pl2 : > > > I have a blank form allowing user to enter data. Upon submission, if user > did not key in correctly, I direct the user to an error screen. The issue > started here --> when the user clicks the "back" button, all of the previous > entered data were gone. > > If I took out the session things, this won't happen. How could I solve this > ? Can someone help, please ? > > Thanks, > YY > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#29058) next »