The message comes as a result of Refreshing a page that was returned as the
result of a POST Request. IOW, probably as a result of a PostBack. What I
would do is, if the Page is Posted Back, do a Response.Redirect to return
the Page to the client. Of course, you will have to figure out how to
restore the state to the Page in a different way. Session and QueryString
come to mind offhand.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Everybody picks their nose,
But some people are better at hiding it.
"UJ" <fr**@nowhere.com> wrote in message
news:ef**************@TK2MSFTNGP12.phx.gbl...
I have a page with code in it to automatically refresh the page every 30
seconds. Works great. But if I do anything on the page (which resets the
timer) and then it times out to refresh, I get the 'The page cannot be
refreshed without resending the information. Click Retry to send the
information again, or click Cancel to return to the page that you were
trying to view.'
Anybody know of any way to stop that message from coming up?
Like I said - if you don't do anything - it works fine. Make any kind of
change to the page and it produces this error.
TIA.