[Zope] Re: cookie crumbler - preserving variables in URL

Dieter Maurer dieter at handshake.de
Tue Aug 31 17:20:41 EDT 2004


Maciek Pasternacki wrote at 2004-8-29 12:36 +0200:
>On Setting Orange, Bureaucracy 16, 3170 YOLD, Dieter Maurer wrote:
>
>>> ...
>>>I have similar problem with traverse_subpath; I have ZPT, say
>>>http://server/Template, which I call as
>>>http://server/Template/Something and I read traverse_subpath in the
>>>template to render wanted output; when Unauthorized is raised,
>>>CookieCrumbler redirects to http://server/Template.
>>
>> CookieCrumber's behaviour is controlled by the "came_from"
>> variable that you can adjust to your needs in your "login_form".
>
>In login_form I receive came_from from CookieCrumbler's Python code
>and it's set wrong.

But, you can make the corresponding hidden variable right:

  In the login form, you still have the original request.

-- 
Dieter


More information about the Zope mailing list