[Grok-dev] Feature request "Log out"

Lennart Regebro regebro at gmail.com
Thu Nov 6 15:03:15 EST 2008


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.

-- 
Lennart Regebro: Zope and Plone consulting.
http://www.colliberty.com/
+33 661 58 14 64


More information about the Grok-dev mailing list