Re: GET and POST

From: Date: Tue, 02 Jan 2001 19:51:34 +0000
Subject: Re: GET and POST
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32303@lists.php.net to get a copy of this message
> I use POST method on all my forms and I never get a "expired page" when a > user hits "back" button. Is there some kind of time delay for this to > happen? There are HTTP headers, but a client can and DOES ignore these often. > Also, I'd like a way to make the user get this "expired" message after > they've gone so far into, say, a check-out procedure. How can I *force* > this to happen if a user hits back? You can't force it to happen unless you can force everyone in the world to run your web browser configured exactly how you want it. :) Again, you can TRY by sending specific HTTP headers requesting that the client do certain things. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http://www.smackdown.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "<body>" -- Quoted from Yahoo! homepage, http://www.yahoo.com > > Thanks! > -eric wood > > > I tend to use GET because it doesn't result in that stupid "This page has > > expired because it was created by a POST operation" error when people > click > > the "back" button in their browser. > > > > -- > 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 (#32303) next »