Re: [Webware-discuss] New CVS Application.py cookies-path session problem

2004-12-22 Thread zunzun
On Wed, Dec 22, 2004 at 01:42:47PM -0500, Geoffrey Talvola wrote: > [EMAIL PROTECTED] wrote: > > On Wed, Dec 22, 2004 at 10:17:08AM -0500, Geoffrey Talvola wrote: > >> I have added a new setting into CVS "UseCookieSessions" that you can > >> set to False to prevent cookies from being used for sessi

Re: [Webware-discuss] New CVS Application.py cookies-path session problem

2004-12-22 Thread zunzun
On Wed, Dec 22, 2004 at 10:17:08AM -0500, Geoffrey Talvola wrote: > I have added a new setting into CVS "UseCookieSessions" that you can set to > False to prevent cookies from being used for sessions at all. This should > give you the behavior you're looking for. You'll need to update > HTTPRespo

RE: [Webware-discuss] New CVS Application.py cookies-path session problem

2004-12-22 Thread Geoffrey Talvola
[EMAIL PROTECTED] wrote: > On Tue, Dec 21, 2004 at 04:31:50PM -0500, Geoffrey Talvola wrote: >> I also checked in a new HTTPRequest.py in addition to Application.py. > > Hmm, even though I have UseAutomaticPathSessions set to true > in Application.config I see a session cookie. So the new > code

Re: [Webware-discuss] New CVS Application.py cookies-path session problem

2004-12-22 Thread zunzun
On Tue, Dec 21, 2004 at 04:31:50PM -0500, Geoffrey Talvola wrote: > I also checked in a new HTTPRequest.py in addition to Application.py. Hmm, even though I have UseAutomaticPathSessions set to true in Application.config I see a session cookie. So the new code sees both a session path and a sessi

RE: [Webware-discuss] New CVS Application.py cookies-path session problem

2004-12-21 Thread Geoffrey Talvola
[EMAIL PROTECTED] wrote: > On Tue, Dec 21, 2004 at 12:05:22PM -0500, Geoffrey Talvola wrote: >> I just checked in a fix that I think will solve the problem. Try >> updating from CVS and see if it works. > > The new file yields: > > Traceback (most recent call last): > File "/home/zunzun/Webwar

Re: [Webware-discuss] New CVS Application.py cookies-path session problem

2004-12-21 Thread zunzun
On Tue, Dec 21, 2004 at 12:05:22PM -0500, Geoffrey Talvola wrote: > I just checked in a fix that I think will solve the problem. Try updating > from CVS and see if it works. The new file yields: Traceback (most recent call last): File "/home/zunzun/Webware/WebKit/Application.py", line 436, in

RE: [Webware-discuss] New CVS Application.py cookies-path session problem

2004-12-21 Thread Geoffrey Talvola
Geoffrey Talvola wrote: > Ah, I think I understand. The path session should only be considered > unnecessary if the _SID_ is present in the cookie. It's not enough to > simply check for the presence of the HTTP_COOKIE header. Let me work > on a patch and send it to you -- I think I can fix this

RE: [Webware-discuss] New CVS Application.py cookies-path session problem

2004-12-21 Thread Geoffrey Talvola
[EMAIL PROTECTED] wrote: > If the user allows cookies, I hold some site-wide preferences in a > site cookie (cookie path '/'). Whether cookies are are disabled or > not, > I hold large amounts of data in a session variable. The current code > sees that cookies are not disabled, i.e. my site-wide

Re: [Webware-discuss] New CVS Application.py cookies-path session problem

2004-12-21 Thread zunzun
On Tue, Dec 21, 2004 at 09:32:54AM -0500, Geoffrey Talvola wrote: > [EMAIL PROTECTED] wrote: > > My site has a site-wide cookie for some user preferences, and > > some pages use sessions to store as much as 10 Meg of data > > on the server with session paths in case users have their > > cookies dis

RE: [Webware-discuss] New CVS Application.py cookies-path session problem

2004-12-21 Thread Geoffrey Talvola
[EMAIL PROTECTED] wrote: > My site has a site-wide cookie for some user preferences, and > some pages use sessions to store as much as 10 Meg of data > on the server with session paths in case users have their > cookies disabled. With the new CVS version of Application.py > cookies and session pat