You misunderstood what I meant. As far as I know there is NO way to go back to a page where a form was submitted to. By a back button, I meant something like <a href="previouspage.php">Go Back</a>.
Alternatively, if you use a header( "location: newpage.php"), then the end user never sees the post submit page. For example form.php submits to action.php action.php had a header( "Location: afterform.php" ) command at the end of it (no output to the browser can be made on this page) afterform.php outputs a "Thank you" message. The end user will only see form.php and afterform.php and will be able to go back and forward between the pages without any problems. More of a work around than a solution... Good Luck Stephen ----- Original Message ----- From: "Harpreet" <[EMAIL PROTECTED]> To: "Windows Helplist (PHP)" <[EMAIL PROTECTED]> Sent: Tuesday, June 17, 2003 5: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" <[EMAIL PROTECTED]> > To: "Harpreet" <[EMAIL PROTECTED]> > Cc: "Windows Helplist (PHP)" <[EMAIL PROTECTED]> > 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" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > 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 > > > > > > > > > > > > > > -- > > 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 > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php