[Zope-CMF] Remembering things about members

Jens Vagelpohl jens@digicool.com
Fri, 11 May 2001 11:55:36 -0400


john,

> But I'm most curious about one thing: the "portal_skin" property is handled
> through a cookie, rather than by querying the membership database.  That
> means that it doesn't carry across browsers or systems.  I figure there
> must be a good reason for this implementation, and I would like to
> understand that that reason is before I start adding properties of my own.
> Does anybody have a clue they could lend me on this one?

as far as i have grasped it at least one reason for the cookie is the fact
that the portal_skin variable was made to be overridable on a
per-REQUEST-basis. Cookie values appear in REQUEST automatically. Overriding
them can then be done in DTML or even as a query string, like
http://my_url/my_doc?portal_skin=MyFunkySkin.

jens