Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1225

Stale comment authentication values in IE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 3.0
    • Labels:
      None
    • Environment:
      IE 6 browser with Roller 2.3
    • Browser Version:
      IE 6

      Description

      Users have complained about IE 6 displaying cached/stale numbers in the "math question".
      Max Rudman suggests the following fix.

      — Email excerpt:
      Max Rudman <mrudman@steelbrick.com> wrote:

      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

        Attachments

          Activity

            People

            • Assignee:
              agangolli Anil Gangolli
              Reporter:
              agangolli Anil Gangolli
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: