[Zope] easy question ? How to jump back to a previous page..

Martin Koekenberg zope at digital-adventures.nl
Thu Jun 17 05:19:23 EDT 2004


hello,

I've a loginscreen (Session based User folder).

In my index_html template is the folowing code :

<dtml-if expr="AUTHENTICATED_USER.getUserName() == 'Anonymous User'">
<dtml-call expr="RESPONSE.redirect('/login', lock=1)">
</dtml-if>

/login is the login page. But how can I automaticaly jump back  (after a succesfull login) to de page that was requested before the loginscreen ?

Example:

I enter the site (http://beta.swol1894.nl). That page will forward me to the login. After a succesfull login I want a jump to the homepage.  (That page send me to the login).

Who know's a solution for this ?

Greetings,

Martin Koekenberg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20040617/cdcae6a1/attachment.html


More information about the Zope mailing list