[Grok-dev] Feature request "Log out"

Christian Theune ct at gocept.com
Sun Nov 9 05:37:21 EST 2008


On Thu, 2008-11-06 at 21:03 +0100, Lennart Regebro wrote:
> On Thu, Nov 6, 2008 at 10:24, Sebastian Ware <sebastian at urbantalk.se> wrote:
> > Thanks!
> >
> > The @@logout.html?nextURL=xxx worked for me provided that nextURL was
> > a public view (no grok.requires) otherwise it didn't log me out. This
> > might be because I am catching the Unauthorized exception.
> >
> > Unfortunately if I go to /applications I get automatically logged in
> > again. In other words, this solves my real problem :) (adding an
> > application and the logging into that application without the
> > zope.manager role) but IMHO it isn't a proper logout :(.
> 
> Before you want a logout, you have to change from Basic HTTP authentication.
> Some browsers will log out when you go to a view that denies you
> access, but not all.
> IE specifically will not.

IE preserves the old credentials until you provide new (invalid)
credentials.


-- 
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/grok-dev/attachments/20081109/7e69e9af/attachment.bin 


More information about the Grok-dev mailing list