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. You
should check this in Firefox. Just check the Cookies for your
localhost (127.0.0.1) in the Firefox preferences. You should only see
one Cookie with the specific name. I could be wrong, but you should
definetly check this.

Cheers, Mike

On 25 Mrz., 17:53, khiem nguyen <[email protected]> wrote:
> hi,
> it's possible to have cookies with the same name (with the same gwt-app)
> so if i call: Cookies.setCookie("name", "value"), with firebug i  can see
> there are many cookies with name="name" is sent.
> so it's not consitent if server needs only 1 correct info from cookie. i
> think about calling Cookies.removeCookie("name") before setting it. but
> 1. does it remove ALL cookies with this name the client ?
> 2. will calling Cookies.getCookieNames() return duplicate names or only
> DISTINC ?
>
> i want to be sure there's only 1 cookie with 1 name on the client ? what
> would be your suggestion ?
>
> thanx

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

Reply via email to