RE: [Zope] RE: Logging out users with cookie crumbler
I just needed a URL users could logout by (which is the logout method of cookie crumbler). so.. cookie_authentication/logout It's just a shame it wasn't actually written in the documentation because it would only take one line to make it explicitly clear. I'm guessing the other way to do it in python is to expireCookie but don't need to try that yet. Brett -----Original Message----- From: Harald Winkelmann [mailto:winkelmann@fh-weingarten.de] Sent: Wednesday, 27 November 2002 10:48 PM To: b.haydon@unsw.edu.au Subject: AW: [Zope] RE: Logging out users with cookie crumbler Hi Brett, Now i'm interested. What's the answer ??? Harry
Ok silly question..I worked it out
Brett
Hi,
Is there a clean way to logout users with cookie crumbler.
cheers,
Brett
Brett Haydon writes:
I just needed a URL users could logout by (which is the logout method of cookie crumbler). so.. cookie_authentication/logout
It's just a shame it wasn't actually written in the documentation because it would only take one line to make it explicitly clear. While I would not argue that it should not be documented, I would like to note:
There is one thing even better than good documentation: Make it so natural that documentation is unnecessary. "<object>/logout" for logout is at least very near to this aim... Dieter
participants (2)
-
Brett Haydon -
Dieter Maurer