danBosh
asked on
go back
In the application i am wrting i am using the following:
<input type="button" class="formbutton" onClick="self.history.go(- 1); return false" value="Cancel">
as a way of allowing the use to go back instead of using the back button....... but the following error seems to pop up sometimes....how do i prevent this? is there a better way of doing things?
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.
<input type="button" class="formbutton" onClick="self.history.go(-
as a way of allowing the use to go back instead of using the back button....... but the following error seems to pop up sometimes....how do i prevent this? is there a better way of doing things?
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It's happening because your trying to go back to a submitted form page, which ie doesn't allow, as the data would be reposted and cause problems. Not sure if there is a work around.
Regards
Plucka