31 Aug
2004
31 Aug
'04
9:20 p.m.
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