Saturday, March 26, 2011

Re: Cookies in gwt



On Saturday, March 26, 2011 9:23:50 PM UTC+1, Jambi wrote:
Hey Khiem,

I think it´s not possible to have multiple Cookies with the same name.
Normally the new Cookie with the same name overrides the old one.

Not if they have different paths, or different domains!


I'm not sure it's possible to make sure there's a single cookie by a given name, maybe try "unsetting" every cookie with any "ancestor" path and "ancestor" domain (and all combinations). But you'd also have to do the same, probably, for each servlet/subpath that you'll call from your page too!

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment