[Zope] Question regarding exUserFolder

Dieter Maurer dieter@handshake.de
Mon, 12 Aug 2002 21:14:10 +0200


low kian seong writes:
 > I have a problem with exUserFolder. I have created a 
 > webpage which contains links to another wepage, the 
 > latter which is protected by exUserFolder and 
 > restricted to Authenticated Users only.  
 >  
 > For example this is my link: 
 >  
 > www.webpage.com/to_restriced?arguments 
 >  
 > If the user is not logged in then he / she will be 
 > directed to the login page in exUserFolder. The 
 > problem I am having is that exUserFolder doesn't 
 > preserve the arguement of the orginal address.
You need to pass the arguments explicitly.

I see two options:

  *  you modify both the login form and the login action

  *  you put your "arguments" into the session object and
     modify the destination[s] to look for arguments both in
     the request and the session.

I would go for the first solution.


Dieter