[Zope] Logout with standard basic authentification
Marcus Collins
mcollins@sunesi.com
Thu, 30 Mar 2000 11:45:21 +0200
Hi,
With basic authentication, the user's browser caches the username and
password, and sends them along with each request. All you can do to
invalidate the cached values is raise an "Unauthorized" exception.
<dtml-raise type="Unauthorized">
You have been logged out. Please log in again.
</dtml-raise>
This sends an HTTP 500 Unauthorized back to your browser, which should
display the basic auth. login box again.
See http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.12.html for
details.
hth,
-- Marcus
> -----Original Message-----
> From: ibriones [mailto:ibriones@amutis.com]
> Sent: 30 March 2000 10:36
> To: zope@zope.org
> Subject: [Zope] Logout with standard basic authentification
>
>
> I have tried to logout with standard basic authentification,
> but I have
> not seen nothing in Mailing List.
> Only I have seen log out with cookie-based authentication, but i have
> to use standard authentification. I don't know how i can do it.
> What can I do to logout with standard basic authentification?
>
> Thanks
>
> --
> Ismael Briones Vilar Administrador de Sistemas
> ibriones@amutis.com Amutis Telecomunicaciones S.A.
> Tlf: +34 96.353.67.67 Gran Vía Marqués del Turia, 27, 1
> Fax: +34 96.353.53.58 46005 Valencia (Spain)
>
>
>
>
> _______________________________________________
> 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 )
>