[Zope] LoginManager - logging out

Mohan Baro mcbaro@uwimona.edu.jm
Mon, 18 Dec 2000 10:57:33 -0500


Can you please give an example of this code or method?

Mohan.

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Bill
Welch
Sent: Monday, December 18, 2000 10:14 AM
To: zope@zope.org
Subject: RE: [Zope] LoginManager - logging out


> authentication and that the browser caches the credential. This means
> unless you shut down your browser, whatever you do, you are back to
> square one.

Besides shutting down your browser, you trash its credential. Create a
simple DTML method that raises the 'Unauthorized' exception. Direct your
brower to that method. The browser will, in some form or manner, request
that you authenticate again. Now the important part, don't cancel the
reauthentication! Type in some garbage user name and password and send it.
Your brower will give you another chance to authenticate, but this one you
cancel and you're back to being anonymous as far as Zope is concerned.

Bill.


_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )