[Zope] login page problem

Dieter Maurer dieter at handshake.de
Wed Mar 30 13:01:24 EST 2005


prabuddha ray wrote at 2005-3-29 01:57 -0800:
>I'm creatin a customised login page template using districtname, user
>name and password.
>i got halt in d logic for password checking. 
>after submitting d login form how do i call d same page if the passwd
>is wrong along with d req params passed? do i need an ext python
>script for this redirection.

No, you can do it where you checked the password.

>also tell how to set session data in ZPTs from the form fields?

      <tal:XXXX define="dummy python:request.SESSION.set(mySessionVar, request.someRequestVar)" />

-- 
Dieter


More information about the Zope mailing list