By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,187 Members | 1,038 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,187 IT Pros & Developers. It's quick & easy.

Warning: Page has Expired

P: n/a
Regarding the Internet Explorer message below:

"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'm developing an e-commerce site from scratch.

I've noticed on other e-commerce websites that use other development
tools such as php or probably "websphere" (java) that when clicking
the back button this message appears during a checkout process. This
is good because it reduces customer error in many ways.

I'm using ASP and response.redirect mostly. But, I've noticed that
even setting a page timeout to zero won't stop the caching of the
page. My customer, who just submitted a form, can just click the back
button and the cached page just comes up.

How do I create the error above with ASP?
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
I can't remember where I've gotten them from, but adding these to the top of
the page works for me:

Response.ExpiresAbsolute = Now() - 1
Response.Expires = -1
Response.CacheControl = "no-cache"

Best reagads,
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.