<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi, Michael<br>
    <br>
    Thanks for the reply.    It's quite possible that the session cookie
    has nothing to do with the manager login, as you say.  It's just
    that I picked up from the Bluebream FAQ that zope3.3 supports logout
    and that it's disabled by default.  The FAQ says that by including <br>
    <br>
       &lt;adapter factory="zope.authentication.logout.LogoutSupported"
    /&gt;<br>
    <br>
    in etc/site.zcml, one can enable logout support.  It's all pretty
    confusing.  A previous version of grok/zope that I used had a logout
    button on the management screen, and that used to work.   I do
    understand that basic auth (not cookie based auth) has no way of
    knowing when the session is closed.  Surely though, even if this is
    the case, one can still _tell_ the session it is closed?<br>
    <br>
    Take care,<br>
    Paul<br>
    <br>
    On 07/08/2011 12:31, Michael Jenny wrote:
    <blockquote
cite="mid:CAPJpKVA64TfKK2yOS5td13d17XMYLHn7T2MeJk5MPw9fiyrEUg@mail.gmail.com"
      type="cite">Hi Paul,<br>
      <br>
      my plain grok sandbox uses HTTP Basic Auth authentication. The
      credentials are sent alongside with the headers. As far as I know
      there's no way to logout from the session when using BasicAuth
      except starting a new Browser session. So I wonder if the zope
      session cookie you mentioned has anything to do with the
      authentication mechanism for the manager principal?!<br>
      <br>
      Best wishes,<br>
      Michael.<br>
      <br>
      <br>
      <div class="gmail_quote">On Sun, Aug 7, 2011 at 08:20, paul <span
          dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:paul@aptrackers.com" target="_blank">paul@aptrackers.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          I was wondering whether there's an easier way to do this.<br>
          <br>
          Currently, whenever I use the grok UI manager interface, my
          grok instance remains logged in as manager- so my app PAU
          instance detects a valid login and doesn't allow me to log
          out.   I can log out my own users at application level, but
          since the 'manager' identity is not managed by my own PAU
          instance, I cannot seem to log out manager.<br>
          <br>
          Currently, I clear the zope session cookie, close the browser
          tab, and reload the URL to clear the login.   I'm sure there's
          an easier way, but after much searching through the web online
          docs and the zope implementation code, I'm blowed if I know
          what it is.<br>
          <br>
          Can someone point me in the right direction?<br>
          <br>
          <br>
          _______________________________________________<br>
          Grok-dev mailing list<br>
          <a moz-do-not-send="true" href="mailto:Grok-dev@zope.org"
            target="_blank">Grok-dev@zope.org</a><br>
          <a moz-do-not-send="true"
            href="https://mail.zope.org/mailman/listinfo/grok-dev"
            target="_blank">https://mail.zope.org/mailman/listinfo/grok-dev</a><br>
          <br>
        </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
  </body>
</html>