Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Warning: Page has expired...

Reply
Thread Tools

Warning: Page has expired...

 
 
mgm
Guest
Posts: n/a
 
      10-25-2004
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.


 
Reply With Quote
 
 
 
 
Ray Costanzo [MVP]
Guest
Posts: n/a
 
      10-26-2004
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" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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.
>
>



 
Reply With Quote
 
 
 
 
mgm
Guest
Posts: n/a
 
      10-26-2004
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$(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > 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.
> >
> >

>
>



 
Reply With Quote
 
Ben Strackany
Guest
Posts: n/a
 
      11-16-2004
You can also use a GET form.

--
Ben Strackany
www.developmentnow.com

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


"mgm" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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$(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> > > 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.
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Refreshing page 1 after page 2 has been called from page 1 patrice.fiset@gmail.com Javascript 2 06-20-2007 10:13 PM
How to get the times which between page begin be loaded and page has been load !? Kylin ASP .Net 1 05-16-2005 01:05 PM
Page Caching - Warning: Page has Expired Fernando Chilvarguer ASP .Net 1 11-19-2004 06:03 AM
Prevent 'Page has expired' when a client hits back to return to a search page Mike ASP .Net 1 08-08-2003 03:05 PM
Re: Warning Page Has Expired, I need to turn it OFF for a simple search page Kevin Spencer ASP .Net 2 07-08-2003 09:57 PM



Advertisments