469,283 Members | 2,263 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,283 developers. It's quick & easy.

Warning: Page has expired...

mgm
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.
Jul 21 '05 #1
3 3754
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" <ma********@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
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.

Jul 21 '05 #2
mgm
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**************@TK2MSFTNGP14.phx.gbl...
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" <ma********@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
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.


Jul 21 '05 #3
You can also use a GET form.

--
Ben Strackany
www.developmentnow.com

<a href="http://www.developmentnow.com">dn</a>
"mgm" <ma********@hotmail.com> wrote in message
news:u6*************@TK2MSFTNGP11.phx.gbl...
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**************@TK2MSFTNGP14.phx.gbl...
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" <ma********@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
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.



Jul 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by ddddd | last post: by
reply views Thread by Quentin Huo | last post: by
1 post views Thread by dave | last post: by
1 post views Thread by Fernando Chilvarguer | last post: by
1 post views Thread by tshad | last post: by
2 posts views Thread by Loane Sharp | last post: by
1 post views Thread by swatiminiyar | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.