[Seaside] Bug in cookie-based sessions (and fix)

Tony Garnock-Jones tonyg at lshift.net
Thu Dec 15 15:34:52 CET 2005

Seaside2.6a2-tonyg.76 fixes a problem with cookie-based sessions.

What was happening was that stylesheets and script URLs in the document
headers had ?_s=... parameters, which the WAApplication handleRequest
code was stomping on. The fix refuses to overwrite the handlerField with
the cookie value if the handlerField is already present (using
#at:ifAbsentPut: instead of #at:put:).

 [][][] Tony Garnock-Jones     | Mob: +44 (0)7905 974 211
   [][] LShift Ltd             | Tel: +44 (0)20 7729 7060
 []  [] http://www.lshift.net/ | Email: tonyg at lshift.net

More information about the Seaside mailing list