Re[2]: [Zope] Question regarding exUserFolder

Dmitry Matveev Dmitry Matveev <matveev@uralfirm.ru>
Tue, 13 Aug 2002 17:10:18 +0600


Hello Dieter,

Tuesday, August 13, 2002, 1:14:10 AM, you wrote:

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

DM> I see two options:

DM>   *  you modify both the login form and the login action

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

DM> I would go for the first solution.

How about cookies?

-- 
Best regards,                          www.uralfirm.ru
Dmitry Matveev                         mailto:matveev@uralfirm.ru