[Zope] CookieCrumbler driving me nuts!! PLEASE HELP!

Samir Mishra SamirMishra at cbuae.gov.ae
Tue Jun 15 01:06:36 EDT 2004


Hi all,

Been trying this forever now, and can't get it to work. I have a login page
LOGIN that I get to from another page USERINFO that's a form. A user cannot
go to LOGIN directly, they will be redirected to USERINFO. LOGIN is also the
default page for CookieCrumbler.

After users enter info in LOGIN, they're directed to a protected page.
Everything works OK if the user enters the correct username/password, and
they automatically log in.

If a user enters incorrect user credentials, they are redirected back to
LOGIN. Again, this is OK. The problem is, the redirection strips off all the
REQUEST variables, including the REQUEST.SESSION data, where I'm storing
other session information. The Session ID shows up as having changed!

My question is - is there a way to fix this, so that during the post-login
failure redirect to LOGIN, all of the request/Session information/variables
is retained? 

TIA.

Samir



More information about the Zope mailing list