Thanks for this patch.  I'll get this into trunk and the 3.0 branch.

Should I put it in the 2.3 branch too for 2.3.1 ?

--a.

----- Original Message ----- From: "Max Rudman" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, August 30, 2006 12:50 PM
Subject: Re: Help me solve Comment Authentication Error in Internet Explorer


I don't know if this is limited to 6 but this definitely seems to be
IE-specific problem. The issue is that the include generated by
CommentAuthenticatorServlet is getting cached. So, when you post a
comment and the page gets redisplayed, IE includes cached HTML
fragment which has the previous math question. The solution is to
output cache-defeating headers in CommentAuthenticatiorServlet.doGet
()  method:

response.addHeader("Pragma", "no-cache");
response.addHeader("Cache-Control", "no-cache");
response.addHeader("Expires", "-1");


Max


On Aug 30, 2006, at 9:39 AM, Dave Johnson wrote:

Is this an IE6 only problem?

Do you need the comment authenticator for your blog? If it's an
internal portal, then you can probably live without it -- and you can
turn it off.

- Dave



Reply via email to