Re: Back button error

From: Date: Tue, 21 Jan 2003 18:19:39 +0000
Subject: Re: Back button error
References: 1 2 3 4 5 6 7 8  Groups: php.windows 
Request: Send a blank email to php-windows+get-20389@lists.php.net to get a copy of this message
This is not an error, this is a security issue: Your form has passed the form variable thru 'post' method and when you are hitting back button or reloading with a JScript the history page you see the message because the IE do not re-submit automatically the form because is a security leak. If you really don't want to see the message appearing you have to specify in the form the "<post method='get' action='... >" and this will automatically submit the form once again. -- ------------------------------------------------- Cristian MARIN - Developer InterAKT Online (www.interakt.ro) Tel: +4021 312.53.12 Tel/Fax: +4021 312.51.91 cristic@interakt.ro "Harpreet" <harpreet@crispincorp.com> wrote in message news:03ca01c334f3$980dbbc0$6001a8c0@harpreet... > Also the back button works for regular pages . It gives me the below error > only when i try to go back to a page that was an action to a form - a page > where a form is processed. > > Warning: Page has Expired The page you requested was created using > information you submitted in a form. This page is no longer available. As a > security precaution, Internet Explorer does not automatically resubmit your > information for you. > > To resubmit your information and view this Web page, click the Refresh > button. > > > Can i work around it. Please help. > > Thanks, > > Regards, > Harpreet > > ----- Original Message ----- > From: "Harpreet" <harpreet@crispincorp.com> > To: "Windows Helplist (PHP)" <php-windows@lists.php.net> > Sent: Tuesday, June 17, 2003 12:58 PM > Subject: Re: [PHP-WIN] Back button error > > > > I tried a manual back button > > <FORM> > > > > <INPUT TYPE="button" VALUE="Back" > > onClick="history.go(-1)"> > > > > </FORM> > > > > and also session_cache_limiter('private'); But none worked. > > > > Ne other ideas. > > > > Regards, > > Harpreet > > ----- Original Message ----- > > From: "Stephen" <stephen.edmonds5@btinternet.com> > > To: "Harpreet" <harpreet@crispincorp.com> > > Cc: "Windows Helplist (PHP)" <php-windows@lists.php.net> > > Sent: Monday, June 16, 2003 2:52 PM > > Subject: Re: [PHP-WIN] Back button error > > > > > > > Its a feature of IE. It stops you going backwards to a page which was > > > generated when you sent form data to it. There is no way around this, so > > you > > > will need to find a way around your problem (A manual "<-- Go Back" link > > > perhaps?) > > > > > > Stephen > > > > > > ----- Original Message ----- > > > From: "Harpreet" <harpreet@crispincorp.com> > > > To: <php-windows@lists.php.net> > > > Sent: Monday, June 16, 2003 7:55 PM > > > Subject: [PHP-WIN] Back button error > > > > > > > > > > I am getting the following error when i use the IE back button. > > > > > > > > Warning: Page has Expired The page you requested was created using > > > > information you submitted in a form. This page is no longer available. > > As > > > a > > > > security precaution, Internet Explorer does not automatically resubmit > > > your > > > > information for you. > > > > > > > > To resubmit your information and view this Web page, click the Refresh > > > > button. > > > > > > > > I read by writing the following it should work. > > > > session_cache_limiter('private_no_expire'); > > > > > > > > But no luck. > > > > How do i change the headers to make my back button work. > > > > > > > > Please help. > > > > Regards, > > > > Harpreet > > > > > > > > > > > > > > > > -- > > > > PHP Windows Mailing List (http://www.php.net/) > > > > To unsubscribe, visit: http://www.php.net/unsub.php�S > > > > «-”³—³ßIc…q­ > > > > > > > > > > > > > > > > > > > > -- > > > PHP Windows Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.windows (#20389) next »