Warning: Page has expired...

Discussion in 'ASP General' started by mgm, Oct 25, 2004.

  1. mgm

    mgm Guest

    How do you get a web app to not show the 'page has expired...' error and
    refresh and requery when you hit the back button after submitting a form? I
    just want the old data to still be displayed in the form.

    I checked knowledge base for this and I do not have "Do not save encrypted
    pages to disk" checked and am running IE
    6.0.2900.2180.xpsp_sp2_rtm.040803-2158.
     
    mgm, Oct 25, 2004
    #1
    1. Advertising

  2. Instead of posting the form to the same page in which it exists, post it to
    another page.

    formpage.asp---[SUBMIT]---formpage.asp---[user clicks link
    elswhere]---elsewhere.asp---[user clicks back button]: Page has expired.

    formpage.asp---[submit]---process.asp---[response.redirect
    "thanks.asp"---]---[user clicks link elsewhere]---elsewhere.asp---[user
    clicks back button]---formpage.asp with form values. (Assuming no
    anti-caching headers.)

    Ray at work


    "mgm" <> wrote in message
    news:%...
    > How do you get a web app to not show the 'page has expired...' error and
    > refresh and requery when you hit the back button after submitting a form?
    > I
    > just want the old data to still be displayed in the form.
    >
    > I checked knowledge base for this and I do not have "Do not save encrypted
    > pages to disk" checked and am running IE
    > 6.0.2900.2180.xpsp_sp2_rtm.040803-2158.
    >
    >
     
    Ray Costanzo [MVP], Oct 26, 2004
    #2
    1. Advertising

  3. mgm

    mgm Guest

    Ok, this is the way I have it set up which seems pretty close to what you
    suggest:

    default.asp---[user makes selection and
    submits]---Formpage.asp---[submit]---addrecord.asp---[response.redirect to
    default.asp]---user hits back button---"Expired"

    What's weird is it doesn't happen on my machine, only on the person's
    machine that has to enter a bunch of data... I'm running Server03, she's
    running XPsp2.

    Thanks!

    "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
    message news:#r$...
    > Instead of posting the form to the same page in which it exists, post it

    to
    > another page.
    >
    > formpage.asp---[SUBMIT]---formpage.asp---[user clicks link
    > elswhere]---elsewhere.asp---[user clicks back button]: Page has expired.
    >
    > formpage.asp---[submit]---process.asp---[response.redirect
    > "thanks.asp"---]---[user clicks link elsewhere]---elsewhere.asp---[user
    > clicks back button]---formpage.asp with form values. (Assuming no
    > anti-caching headers.)
    >
    > Ray at work
    >
    >
    > "mgm" <> wrote in message
    > news:%...
    > > How do you get a web app to not show the 'page has expired...' error and
    > > refresh and requery when you hit the back button after submitting a

    form?
    > > I
    > > just want the old data to still be displayed in the form.
    > >
    > > I checked knowledge base for this and I do not have "Do not save

    encrypted
    > > pages to disk" checked and am running IE
    > > 6.0.2900.2180.xpsp_sp2_rtm.040803-2158.
    > >
    > >

    >
    >
     
    mgm, Oct 26, 2004
    #3
  4. You can also use a GET form.

    --
    Ben Strackany
    www.developmentnow.com

    <a href="http://www.developmentnow.com">dn</a>


    "mgm" <> wrote in message
    news:...
    > Ok, this is the way I have it set up which seems pretty close to what you
    > suggest:
    >
    > default.asp---[user makes selection and
    > submits]---Formpage.asp---[submit]---addrecord.asp---[response.redirect to
    > default.asp]---user hits back button---"Expired"
    >
    > What's weird is it doesn't happen on my machine, only on the person's
    > machine that has to enter a bunch of data... I'm running Server03, she's
    > running XPsp2.
    >
    > Thanks!
    >
    > "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
    > message news:#r$...
    > > Instead of posting the form to the same page in which it exists, post it

    > to
    > > another page.
    > >
    > > formpage.asp---[SUBMIT]---formpage.asp---[user clicks link
    > > elswhere]---elsewhere.asp---[user clicks back button]: Page has

    expired.
    > >
    > > formpage.asp---[submit]---process.asp---[response.redirect
    > > "thanks.asp"---]---[user clicks link elsewhere]---elsewhere.asp---[user
    > > clicks back button]---formpage.asp with form values. (Assuming no
    > > anti-caching headers.)
    > >
    > > Ray at work
    > >
    > >
    > > "mgm" <> wrote in message
    > > news:%...
    > > > How do you get a web app to not show the 'page has expired...' error

    and
    > > > refresh and requery when you hit the back button after submitting a

    > form?
    > > > I
    > > > just want the old data to still be displayed in the form.
    > > >
    > > > I checked knowledge base for this and I do not have "Do not save

    > encrypted
    > > > pages to disk" checked and am running IE
    > > > 6.0.2900.2180.xpsp_sp2_rtm.040803-2158.
    > > >
    > > >

    > >
    > >

    >
    >
     
    Ben Strackany, Nov 16, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin Spencer
    Replies:
    2
    Views:
    465
    Cheung, Jeffrey Jing-Yen
    Jul 8, 2003
  2. Coder Coder

    Warning: Page has Expired

    Coder Coder, Jul 29, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    392
    Alvin Bruney
    Jul 30, 2003
  3. bri

    Warning: Page has Expired

    bri, Nov 20, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    4,391
    Kevin Spencer
    Nov 20, 2003
  4. =?Utf-8?B?TWljaGFlbCBFdmFuY2hpaw==?=

    Warning page has expired when clicking back

    =?Utf-8?B?TWljaGFlbCBFdmFuY2hpaw==?=, Apr 20, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    617
    =?Utf-8?B?TWljaGFlbCBFdmFuY2hpaw==?=
    Apr 20, 2004
  5. Fernando Chilvarguer

    Page Caching - Warning: Page has Expired

    Fernando Chilvarguer, Nov 19, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    525
    Joyjit Mukherjee
    Nov 19, 2004
Loading...

Share This Page