[Zope] [Logout script] How to code it ?

Jaroslav Lukesh lukesh at seznam.cz
Mon Sep 15 05:34:50 EDT 2003


> Odesílatel: Jaroslav Lukesh <lukesh at seznam.cz>
> > Odesílatel: Sinclair <fred.duwez at freesurf.fr>
> > I need to insert a logout button on my web application toolbar, but I
> really
> > don't know how to do that.
> 
> In pure HTML as <a href="restricted/folder">button</a>
> 
> while "restricted/folder" have "user folder" object.

Sorry, I was blind. For logout:

<dtml-call "REQUEST.set ('form_action',
'/restricted/folder/acl_users/user_logout')">
<a href="&dtml-form_action;">LOGOUT</a>

But for basic auth is no logout, login is sent with each page request, so
you dont need logout.

Regards JL.




More information about the Zope mailing list