Groups | Blog | Home
all groups > asp.net caching > october 2004 >

asp.net caching : "Show HTTP friendly error message", XP, XP-SP2 and IE6


kalchas NO[at]SPAM a1.net
10/1/2004 1:19:13 AM
We're having a .net web-application having it's cache policy set to
"NO-Cache".

MSDN Details:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebhttpcacheabilityclasstopic.asp
[and]
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWebHttpResponseClassCacheTopic.asp

This is important for our site, as no result of a web-form post should
be cached.

Before Windows XP Service Pack 2 a correct error Message "Warning:
Page expired..." was shown. The customers understood!

After installing SP2 the error Message "Page cannot be displayed" is
shown. It turned out that the IE Option "Show HTTP Friendly error
message" has to be turned off to get the old error message.

As we have a lot of traffic, people are calling/writing emails
thinking our site has an error.

What is the best solution? On the one hand we need no cache, but on
the other hand we can't explain every customer how to deactivate this
IE-option?

Joerg Jooss
10/1/2004 6:48:42 PM
[quoted text, click to view]

That's clearly an IE bug as far as I'm concerned. Normally you want to avoid
repeatable POST requests altogether, but this means answering each and every
post back with a redirect, which really does not go all that well without
putting some dedicated page controller in place.

Cheers,

--
Joerg Jooss
joerg.jooss@gmx.net

AddThis Social Bookmark Button