Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - Warning Expired pages message

 
Thread Tools Search this Thread
Old 08-24-2005, 10:56 PM   #1
Default Warning Expired pages message


This is driving us crazy. And it only seems to happen in IE. Mozilla and
Firefox don't have this problem.

We get this message all the time, but I can't figure out why as it is not
consistant (or doesn't seem to be).
************************************************** ************************************************** ******************
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 have a page that I press buttons and grids will open up after being filled
and if I press the Back button, I get this message. This happens 2 seconds
after displaying.

I go to another page and it doesn't get the message.

What causes the message?

If you press the refresh, it handles the page fine - so why doesn't it just
do it in these instances?

Thanks,

Tom





tshad
  Reply With Quote
Old 08-25-2005, 12:41 AM   #2
Bruce Barker
 
Posts: n/a
Default Re: Warning Expired pages message
this is by design - IE is warning that it is reposting the data, this was
done becuase so many sites do not handle this correctly (query this newgroup
for requests to turn off the back button for a sampling).

when you go back, if the page is marked as expired (or do not cache) and the
page was the result of a post (button click, submit or .net autopostback)
the browser needs to post the form data again to the server to get the page.

little example, a .net page with one button, and expired set.

1) navigate to page (render)
2) click button once (submit)
3) click back - no message because back is the original render

1) navigate to page (render)
2) click button once (submit)
3) click button again (submit)
4) click back - message occurs because previous page is a result of a
postback (submit)

a refresh never causes the message because it is alway a rerender of the
url, not a post.

-- bruce (sqlwork.com)






"tshad" <> wrote in message
news:...
> This is driving us crazy. And it only seems to happen in IE. Mozilla and
> Firefox don't have this problem.
>
> We get this message all the time, but I can't figure out why as it is not
> consistant (or doesn't seem to be).
> ************************************************** ************************************************** ******************
> 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 have a page that I press buttons and grids will open up after being
> filled and if I press the Back button, I get this message. This happens 2
> seconds after displaying.
>
> I go to another page and it doesn't get the message.
>
> What causes the message?
>
> If you press the refresh, it handles the page fine - so why doesn't it
> just do it in these instances?
>
> Thanks,
>
> Tom
>
>
>





Bruce Barker
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Physical sythesis tool PALAC is not supported by Formal Verification tool Conf bbiandov Software 0 12-22-2008 05:25 AM
RARE DOCUMENTARIES - OLD HBO UNDERCOVER & MORE, SELL OR TRADE Michelangelo098@aol.com DVD Video 0 10-03-2006 10:58 PM
Turn $6 into $60000 GARANTEED!!! Zachary Keller DVD Video 2 10-08-2003 09:58 PM
Postal Lottery: Turn $6 into $60,000 in 90 days, GUARANTEED Louis DVD Video 0 09-30-2003 07:26 PM
Turn $6 into $60,000 in 90 days, GUARANTEED T.L.F. DVD Video 0 09-18-2003 07:14 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46