The page you are looking for is currently unavailable...

G

Guest

I have a web application that has several web controls on it. Periodically I
notice that while in the application if I try to hit the back button on IE to
view a page that has been previously displayed you get the following error:

"The page you are looking for is currently unavailable. The Web site might
be experiencing technical difficulties, or you may need to adjust your
browser settings."

If I hit refresh it pulls the page right up. Someone said this was a
security measure in IE. I've seen this behavior on other web sites but I
don't know how to stop this or how ot fix this. Does anyone else?
 
G

Guest

sub page_load
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Context.Response.Cache.SetExpires(DateTime.Now.AddSeconds(180))
Response.AddHeader("pragma", "no-cache")
Response.AddHeader("cache-control", "private")
Response.CacheControl = "no-cache"

Michael Evanchik
www.MichaelEvanchik.com
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top