Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

backward navigation

Status
Not open for further replies.

bam720

Technical User
Sep 29, 2005
289
US
When I am in Firefox I get this msg:
Code:
"The page you are trying to view conatins POSTDATA that has expired from cache.
If you resend the data, any action the form carried out (such as a search or online
purchase) will be repated. To resend the data, click OK. Otherwise, click Cancel."

and in IE I get:
Code:
"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. "

"The page cannot be refreshed without resending the information.
Click Retry to send the information again,
or click Cancel to return to the page that you were trying to view."

How can I navigate backwards and retain the data that was there before moving forward?
I am using many page forms to continually pass information forward before finally verifying it and sending it to the database.
 
I think you'll have to implement "forward" and "back" links on pages and put all kinds of verbiage on the site, telling users to use these links and not the "forward" and "back" buttons in their browser.

Then your multipage application can use session variables to pre-fill form fields on successive loads of the form.


Want the best answers? Ask the best questions! TANSTAAFL!
 
You could also take the post data on page two and make it a session variable. Page one would have to check to see if the session variable is set and, if so, take the appropriate action.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top