[patch] explicitly set cookie path (was Re: [albatross-users] [bug] cookie path is never set)

Matt Goodall matt at pollenation.net
Tue Aug 5 02:56:32 EST 2003


Matt Goodall wrote:

<snip>

> I'm pretty sure the fix is just to explicitly set a cookie path. It 
> should be possible to use the base_uri to work out a path to use. I'll 
> see what I can come up with if noone else gets there first.

Patch attached, seems to work ok for both session file and session 
server but please review the change.

There's a bit of repetition in session.py and sessionfile.py but I'll 
let someone else take the blame for any refactoring that breaks 
everything ;-).

Cheers, Matt

-- 
Matt Goodall, Pollenation Internet Ltd
w: http://www.pollenationinternet.com
e: matt at pollenation.net
t: +44 (0)113 2252500

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cookie-path.patch
URL: <http://www.object-craft.com.au/pipermail/albatross-users/attachments/20030804/1e8c51cc/attachment.ksh>


More information about the Albatross-users mailing list