From nobody Mon Sep 15 09:07:01 2003 Received: from unknown (HELO mail.python.org) (12.155.117.29) by zulu.avenirsolutions.com with SMTP; 15 Sep 2003 08:47:58 -0000 Received: from localhost.localdomain ([127.0.0.1] helo=mail.python.org) by mail.python.org with esmtp (Exim 4.22) id 19yq1O-0006Ys-C8; Mon, 15 Sep 2003 05:51:50 -0400 Received: from stateless1.tiscali.cz ([213.235.135.70] helo=mail.tiscali.cz) by mail.python.org with esmtp (Exim 4.22) id 19yq1D-0006XP-Uq for zope@zope.org; Mon, 15 Sep 2003 05:51:40 -0400 Received: from gw (212.11.110.36) by mail.tiscali.cz (6.7.018) id 3F269CE000C03F4B; Mon, 15 Sep 2003 11:45:40 +0200 Message-ID: <3F269CE000C03F4B@stateless1.tiscali.cz> (added by postmaster@mail.tiscali.cz) From: "Jaroslav Lukesh" <lukesh@seznam.cz> To: <zope@zope.org>, "Sinclair" <fred.duwez@freesurf.fr> Subject: Re: [Zope] [Logout script] How to code it ? Date: Mon, 15 Sep 2003 11:34:50 +0200 X-FeelingPriority: Normal X-Priority: 3 X-Mailer: Muj vlastni Mail klient 1.00 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: Quoted-Printable X-Spam-Status: OK (zopelist 0.000) Cc: X-BeenThere: zope@zope.org X-Mailman-Version: 2.1.2+ Precedence: list Reply-To: lsh@wo.cz List-Id: Users of the Z Object Publishing Environment <zope.zope.org> List-Unsubscribe: <http://mail.zope.org/mailman/listinfo/zope>, <mailto:zope-request@zope.org?subject=unsubscribe> List-Archive: <http://lists.zope.org/pipermail/zope> List-Post: <mailto:zope@zope.org> List-Help: <mailto:zope-request@zope.org?subject=help> List-Subscribe: <http://mail.zope.org/mailman/listinfo/zope>, <mailto:zope-request@zope.org?subject=subscribe> Sender: zope-bounces@zope.org Errors-To: zope-bounces@zope.org
Odes=EDlatel: Jaroslav Lukesh <lukesh@seznam.cz>
Odes=EDlatel: Sinclair <fred.duwez@freesurf.fr> I need to insert a logout button on my web application toolbar, but I really don't know how to do that. =20 In pure HTML as <a href=3D"restricted/folder">button</a> =20 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=3D"&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. _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (1)
-
lukesh@seznam.cz