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

Tino Wildenhain tino at wildenhain.de
Thu Sep 2 02:15:27 EDT 2004


Hi,

Am Mi, den 01.09.2004 schrieb Maciek Pasternacki um 22:42:
> On Setting Orange, Bureaucracy 26, 3170 YOLD, Dieter Maurer wrote:
> 
> >   CookieCrumber uses "redirect" to activate its login form -- with
> >   an incomplete "came_from".
> >
> >   Instead, it should probably render the login form.
> 
> Wouldn't it mess with proxies and caches?

No difference in messing no matter if you provide the form
in-request or return a redirect here. Its all the same process
only different HTTP status. 
Danymic pages (e.g. after logged in) cannot be cached much.
So if the login page is in the same place, it does not matter,
but is very comfortable - you avoid ugly URLs, you avoid 
translating post variables to URL and a lot more.

Regards
Tino Wildenhain



More information about the Zope mailing list