setting two cookies

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

setting two cookies

Sebastian Sastre-2
hi there,
is anybody able to set 2 cookies in the same response with a swazoo based
seaside app?
Even with a header like the one I'm posting here, the user agent is storing only
the first one and (ignoring the loginId one) I just can't explain that. Even
regarding to http://rfc.dotsrc.org/rfc/rfc2965.html 
Anyone has an idea why is not setting both?
thanks,
sebastian

I've captured this response with live HTTP headers:
___________________
HTTP/1.x 302 Found
Server: Swazoo 2.0
Set-Cookie: appWorker=app.developmentWorker1; expires=Thu, 28-Oct-2021 06:44:56
GMT; path=/,loginId=6gh92hksil0aomrmibm824sx4.esbtl55njcb3mgtvqug6xmc4d;
expires=Thu, 28-Oct-2021 06:44:56 GMT; path=/
Content-Type: text/html;charset=utf-8
Date: Mon, 23-Feb-2009 15:38:16 GMT
Cache-Control: no-cache
Location: http://localhost:9090/app?_s=EnsqRxwUGIeNUHlY&_k=XmVIBFoT
Content-Length: 0

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: setting two cookies

Sebastian Sastre-2
ok, now I managed things in the app to set only one at the time as workaround
for this. But it's still a mystery why won't set both.
cheers,
sebastian

> -----Mensaje original-----
> De: [hidden email]
> [mailto:[hidden email]] En nombre
> de Sebastian Sastre
> Enviado el: Monday, February 23, 2009 15:45
> Para: 'Seaside - general discussion'
> Asunto: [Seaside] setting two cookies
>
> hi there,
> is anybody able to set 2 cookies in the same response with a
> swazoo based
> seaside app?
> Even with a header like the one I'm posting here, the user
> agent is storing only
> the first one and (ignoring the loginId one) I just can't
> explain that. Even
> regarding to http://rfc.dotsrc.org/rfc/rfc2965.html 
> Anyone has an idea why is not setting both?
> thanks,
> sebastian
>
> I've captured this response with live HTTP headers:
> ___________________
> HTTP/1.x 302 Found
> Server: Swazoo 2.0
> Set-Cookie: appWorker=app.developmentWorker1; expires=Thu,
> 28-Oct-2021 06:44:56
> GMT;
> path=/,loginId=6gh92hksil0aomrmibm824sx4.esbtl55njcb3mgtvqug6xmc4d;
> expires=Thu, 28-Oct-2021 06:44:56 GMT; path=/
> Content-Type: text/html;charset=utf-8
> Date: Mon, 23-Feb-2009 15:38:16 GMT
> Cache-Control: no-cache
> Location: http://localhost:9090/app?_s=EnsqRxwUGIeNUHlY&_k=XmVIBFoT
> Content-Length: 0
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: setting two cookies

Philippe Marschall
In reply to this post by Sebastian Sastre-2
2009/2/23 Sebastian Sastre <[hidden email]>:
> hi there,
> is anybody able to set 2 cookies in the same response with a swazoo based
> seaside app?

Not in Seaside 2.8. In Seaside 2.9 it will work. We had to hack into
Swazoo 2 to make it possible.

Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside