[Catalyst-dev] Patch for C::P::Session::State::Cookie

Michael W Peterson michaelwpeterson at pobox.com
Wed Aug 2 20:01:22 CEST 2006

On Thu, 2006-08-03 at 01:19 +0900, islue wrote:
> Is it necessary to limit baking the cookie where the path is matching
> only?

It's probably not necessary, but it can be useful.

I have URLs like http://server/10/default and http://server/3813/default
where 10 and 3813 are property IDs. To allow a user to browse two
different properties at the same time in different windows, while
maintaining session state, I found it easiest to set the path in the
cookie to '/{propID}/default' and bake separate cookies with separate
sessions for each property.

More information about the Catalyst-dev mailing list