Warning: Page has Expired

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ddddd@ddddd.com

    Warning: Page has Expired

    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.redire ct 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?


  • Rune

    #2
    Re: Warning: Page has Expired

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

    Response.Expire sAbsolute = Now() - 1
    Response.Expire s = -1
    Response.CacheC ontrol = "no-cache"

    Best reagads,
    Rune


    Comment

    Working...