<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    Hi Christoph,<br>
    <br>
    I can see in the Tomcat log that the request is coming though.
    What's intersting is that the login process works fine in IE.  It's
    not working in Chrome or Firefox.<br>
    <br>
    Here are the steps roughly:<br>
    <br>
    1. User visits page on web site (any page). User is not logged in. 
    <br>
    2. User enters username & password into login form.<br>
    3. Form is submitted to handler JSP.<br>
    4. Handler JSP uses CmsJspLoginBean to log user in.  The
    CmsJspLoginBean.isLoginSuccess() returns true. I can see that
    CmsJspLoginBean creates a new session.<br>
    5. User is redirected back to page they first accessed in step 1. 
    Redirect appears to work as I can see the request in the Tomcat log.<br>
    6. Using CmsJspActionElement or CmsJspLoginBean I can see that the
    logged in user is Guest.<br>
    7. Click browser refresh button.<br>
    8. User is now identified as the correct logged in user.<br>
    <br>
    Interestingly the same caching issue appears during log out as well.
    After I use CmsJspLoginBean to log the user out it does show that
    the user is then Guest, but, as Guest I can still see and access
    resources that should only be accessible to the user that was just
    logged out.  Even if I invalidate the session (which CmsJspLoginBean
    seems to do anyway.)<br>
    <br>
    I am using mod_proxy to pass request from Apache to Tomcat - might
    that have something to do with it? To my knowledge I am not using
    mod_cache.<br>
    <br>
    Anyway, thanks for your reply.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 3/13/2013 7:39 AM, Christoph
      Fröhlich wrote:<br>
    </div>
    <blockquote
      cite="mid:5218CA5E-24B8-4C49-A39C-47BF28B2343A@folge2.de"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      Sounds like a browser caching issue to me.
      <div>Did you double check that OpenCms gets a new request when you
        redirecting to the old page? Or does the request does not get
        through to OpenCms until you refresh the page?</div>
      <div><br>
      </div>
      <div>Regards</div>
      <div>Christoph</div>
      <div><br>
        <div>
          <div>Am 12.03.2013 um 21:32 schrieb Seth Lenzi <<a
              moz-do-not-send="true"
              href="mailto:lenzi@jimmy.harvard.edu">lenzi@jimmy.harvard.edu</a>>:</div>
          <br class="Apple-interchange-newline">
          <blockquote type="cite">To anyone that might have any ideas:<br>
            <br>
            I have a page in which I use CmsJspLoginBean to log a user
            into OpenCMS. After the call to the login method I issue a
            redirect to take the user back to the page they were
            originally trying to access prior to logging in.  The
            problem is the logged in user is still identified as the
            Guest account. If I then refresh the page it finally
            identifies the correct user that I logged in via the
            CmsJspLoginBean.<br>
            <br>
            Any ideas why the refresh finally finds the correct user?<br>
            _______________________________________________<br>
            This mail is sent to you from the opencms-dev mailing list<br>
            To change your list options, or to unsubscribe from the
            list, please visit<br>
            <a moz-do-not-send="true"
              href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
            <br>
            <br>
            <br>
          </blockquote>
        </div>
        <br>
        <div apple-content-edited="true">
          <div style="color: rgb(0, 0, 0); font-family: Helvetica;
            font-size: medium; font-style: normal; font-variant: normal;
            font-weight: normal; letter-spacing: normal; line-height:
            normal; orphans: 2; text-align: -webkit-auto; text-indent:
            0px; text-transform: none; white-space: normal; widows: 2;
            word-spacing: 0px; -webkit-text-size-adjust: auto;
            -webkit-text-stroke-width: 0px; word-wrap: break-word;
            -webkit-nbsp-mode: space; -webkit-line-break:
            after-white-space; ">
            <div style="color: rgb(0, 0, 0); font-family: Helvetica;
              font-size: medium; font-style: normal; font-variant:
              normal; font-weight: normal; letter-spacing: normal;
              line-height: normal; orphans: 2; text-align: -webkit-auto;
              text-indent: 0px; text-transform: none; white-space:
              normal; widows: 2; word-spacing: 0px;
              -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
              0px; word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space; ">
              <div style="color: rgb(0, 0, 0); font-family: Helvetica;
                font-style: normal; font-variant: normal; font-weight:
                normal; letter-spacing: normal; line-height: normal;
                orphans: 2; text-align: -webkit-auto; text-indent: 0px;
                text-transform: none; white-space: normal; widows: 2;
                word-spacing: 0px; -webkit-text-size-adjust: auto;
                -webkit-text-stroke-width: 0px; word-wrap: break-word;
                -webkit-nbsp-mode: space; -webkit-line-break:
                after-white-space; ">
                <div style="color: rgb(0, 0, 0); font-family: Helvetica;
                  font-style: normal; font-variant: normal; font-weight:
                  normal; letter-spacing: normal; line-height: normal;
                  orphans: 2; text-align: -webkit-auto; text-indent:
                  0px; text-transform: none; white-space: normal;
                  widows: 2; word-spacing: 0px;
                  -webkit-text-size-adjust: auto;
                  -webkit-text-stroke-width: 0px; word-wrap: break-word;
                  -webkit-nbsp-mode: space; -webkit-line-break:
                  after-white-space; ">
                  <div style="color: rgb(0, 0, 0); font-family:
                    Helvetica; font-style: normal; font-variant: normal;
                    font-weight: normal; letter-spacing: normal;
                    line-height: normal; orphans: 2; text-align:
                    -webkit-auto; text-indent: 0px; text-transform:
                    none; white-space: normal; widows: 2; word-spacing:
                    0px; -webkit-text-size-adjust: auto;
                    -webkit-text-stroke-width: 0px; word-wrap:
                    break-word; -webkit-nbsp-mode: space;
                    -webkit-line-break: after-white-space; ">
                    <div style="color: rgb(0, 0, 0); font-family:
                      Helvetica; font-style: normal; font-variant:
                      normal; font-weight: normal; letter-spacing:
                      normal; line-height: normal; orphans: 2;
                      text-align: -webkit-auto; text-indent: 0px;
                      text-transform: none; white-space: normal; widows:
                      2; word-spacing: 0px; -webkit-text-size-adjust:
                      auto; -webkit-text-stroke-width: 0px; word-wrap:
                      break-word; -webkit-nbsp-mode: space;
                      -webkit-line-break: after-white-space; "><span
                        class="Apple-style-span" style="border-collapse:
                        separate; color: rgb(0, 0, 0); font-family:
                        Helvetica; font-style: normal; font-variant:
                        normal; font-weight: normal; letter-spacing:
                        normal; line-height: normal; orphans: 2;
                        text-align: -webkit-auto; text-indent: 0px;
                        text-transform: none; white-space: normal;
                        widows: 2; word-spacing: 0px; border-spacing:
                        0px; -webkit-text-decorations-in-effect: none;
                        -webkit-text-size-adjust: auto;
                        -webkit-text-stroke-width: 0px; ">-------------------------------------------------<br>
                        <div style="font-size: 12px; margin: 0px; ">Christoph
                          Fröhlich</div>
                        Folge 3 GmbH
                        <div style="margin: 0px; ">Neuer Pferdemarkt 1</div>
                        <div style="margin: 0px; ">20359 Hamburg</div>
                        <div style="margin: 0px; "><br>
                          +49 +40  79 69 48 78<br>
                          <a moz-do-not-send="true"
                            href="mailto:cf@folge3.de">cf@folge3.de</a></div>
                        <div style="font-size: 12px; margin: 0px; "><a
                            moz-do-not-send="true"
                            href="http://www.folge3.de">http://www.folge3.de</a></div>
                        <span class="Apple-style-span"
                          style="border-collapse: separate;
                          border-spacing: 0px; ">
                          <div style="word-wrap: break-word;
                            -webkit-nbsp-mode: space;
                            -webkit-line-break: after-white-space; "><span
                              class="Apple-style-span"
                              style="border-collapse: separate; color:
                              rgb(0, 0, 0); font-family: Helvetica;
                              font-size: 12px; font-style: normal;
                              font-variant: normal; font-weight: normal;
                              letter-spacing: normal; line-height:
                              normal; orphans: 2; text-indent: 0px;
                              text-transform: none; white-space: normal;
                              widows: 2; word-spacing: 0px;
                              border-spacing: 0px;
                              -webkit-text-decorations-in-effect: none;
                              -webkit-text-size-adjust: auto;
                              -webkit-text-stroke-width: 0px; ">
                              <div style="word-wrap: break-word;
                                -webkit-nbsp-mode: space;
                                -webkit-line-break: after-white-space; "><span
                                  class="Apple-style-span"
                                  style="border-collapse: separate;
                                  color: rgb(0, 0, 0); font-family:
                                  Helvetica; font-size: 12px;
                                  font-style: normal; font-variant:
                                  normal; font-weight: normal;
                                  letter-spacing: normal; line-height:
                                  normal; orphans: 2; text-indent: 0px;
                                  text-transform: none; white-space:
                                  normal; widows: 2; word-spacing: 0px;
                                  border-spacing: 0px;
                                  -webkit-text-decorations-in-effect:
                                  none; -webkit-text-size-adjust: auto;
                                  -webkit-text-stroke-width: 0px; ">
                                  <div style="word-wrap: break-word;
                                    -webkit-nbsp-mode: space;
                                    -webkit-line-break:
                                    after-white-space; "><span
                                      class="Apple-style-span"
                                      style="border-collapse: separate;
                                      color: rgb(0, 0, 0); font-family:
                                      Helvetica; font-size: 12px;
                                      font-style: normal; font-variant:
                                      normal; font-weight: normal;
                                      letter-spacing: normal;
                                      line-height: normal; orphans: 2;
                                      text-indent: 0px; text-transform:
                                      none; white-space: normal; widows:
                                      2; word-spacing: 0px;
                                      border-spacing: 0px;
                                      -webkit-text-decorations-in-effect:
                                      none; -webkit-text-size-adjust:
                                      auto; -webkit-text-stroke-width:
                                      0px; "><span
                                        class="Apple-style-span"
                                        style="border-collapse:
                                        separate; color: rgb(0, 0, 0);
                                        font-family: Helvetica;
                                        font-size: 12px; font-style:
                                        normal; font-variant: normal;
                                        font-weight: normal;
                                        letter-spacing: normal;
                                        line-height: normal; orphans: 2;
                                        text-indent: 0px;
                                        text-transform: none;
                                        white-space: normal; widows: 2;
                                        word-spacing: 0px;
                                        border-spacing: 0px;
                                        -webkit-text-decorations-in-effect:
                                        none; -webkit-text-size-adjust:
                                        auto; -webkit-text-stroke-width:
                                        0px; "><span
                                          class="Apple-style-span"
                                          style="border-collapse:
                                          separate; color: rgb(0, 0, 0);
                                          font-family: Helvetica;
                                          font-size: 12px; font-style:
                                          normal; font-variant: normal;
                                          font-weight: normal;
                                          letter-spacing: normal;
                                          line-height: normal; orphans:
                                          2; text-indent: 0px;
                                          text-transform: none;
                                          white-space: normal; widows:
                                          2; word-spacing: 0px;
                                          border-spacing: 0px;
                                          -webkit-text-decorations-in-effect:
                                          none;
                                          -webkit-text-size-adjust:
                                          auto;
                                          -webkit-text-stroke-width:
                                          0px; "><span
                                            class="Apple-style-span"
                                            style="border-collapse:
                                            separate; color: rgb(0, 0,
                                            0); font-family: Helvetica;
                                            font-size: 12px; font-style:
                                            normal; font-variant:
                                            normal; font-weight: normal;
                                            letter-spacing: normal;
                                            line-height: normal;
                                            orphans: 2; text-indent:
                                            0px; text-transform: none;
                                            white-space: normal; widows:
                                            2; word-spacing: 0px;
                                            border-spacing: 0px;
                                            -webkit-text-decorations-in-effect:
                                            none;
                                            -webkit-text-size-adjust:
                                            auto;
                                            -webkit-text-stroke-width:
                                            0px; ">
                                            <div style="margin: 0px; ">-------------------------------------------------<br>
                                              Geschäftsführer: Christoph
                                              Fröhlich, Anja Künzel<br>
                                              Handelsregister: HRB
                                              105806, Amtsgericht
                                              Hamburg </div>
                                          </span></span></span></span></div>
                                </span></div>
                            </span></div>
                        </span></span></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>



</pre>
    </blockquote>
    <br>
  </body>
</html>