[Maypole] problems using UserSessionCookie

From: Rolf Schaufelberger (rs at plusw.de)
Date: Mon Jan 31 2005 - 10:35:03 GMT


Hi,

I have problems using Maypole::...::UserSessionCookie :
When I logout and call logout() the line in _logout_cookie

-value=>undef

doesn't change the value of the cookie, and so I can logout but not login any
more. Changing to
 -value=>0
fixed it.
(Activating my browsers (Firefox) "ask before storing cookies" then prompts me
with a message, the server wants to store a modified cookie).
When debugging I wondered, why the cookie is send with each request.
I've modified this, so the cookie is send only when it is created first (and
in _logout_cookie).
See diff file attached.

Greetings

Rolf Schaufelberger

-------------------------------------------------------------------
plusW
Dipl. Ing. Rolf Schaufelberger Tel. 07183/ 30 54 54
Stuttgarter Str. 26 E-Mail: rs at plusw.de
73635 Rudersberg



_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:58 GMT