I checked in a few fixes:

- fixed ModPythonAdapter so it correctly handles multiple cookies being 
sent at the same time, and so it can handle a ":" character in the body of 
a header

- added "expires()" and "setExpires()" methods to Cookie.py.  Based on my 
experimentation, the only way to get a cookie to outlive a single browser 
session is by using expires.  In particular, max-age doesn't seem to work 
properly.

- fixed a subtle issue in Application.forward().  If you create a brand-new 
session, set some session variables, then forward to another servlet, it 
would lose the new session and session variables that you had just 
set.  But if there was an _existing_ session, and you set some session 
variables and then forward to another servlet, it would _retain_ the 
changes to the session.  This is inconsistent and was causing some problems 
for me.  So to make it consistent, I fixed it so that in both the 
new-session and existing-session cases, all changes to session variables 
are retained if you call forward().


--

- Geoff Talvola
   [EMAIL PROTECTED]

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to