[Zope] Multiple CookieCrumblers

Jens Vagelpohl jens at dataflake.org
Wed Jan 11 19:01:37 EST 2006


On 11 Jan 2006, at 21:46, Brian Sullivan wrote:

> I am using CookieCrumbler as an authentication method on a Zope site.
>
> I am looking at the feasibility of putting multi CookieCrumbler
> objects (all with the same settings -- except for the cache setting)
> on a site in order to allow some parts of the site to be cached in an
> upstream proxy and forbidding others.
>
> Is this a reasonable thing to do? Will it achieve the result I am  
> looking for?

I will not do what you expect to do. The first cookie crumbler to do  
authentication sets the cookie and even if other cookie crumblers get  
involved they will not just overwrite that cookie because the  
lifetime setting on their cookie is different.

jens



More information about the Zope mailing list