This has been driving me nuts for some time and I finally figured out
what I did wrong. Maybe your problem is the same. I was using the
wrong hostname in the URL, i.e. "localhost" instead of "127.0.0.1".

Explanation:
The GWT-plugin's default URL when launching the app is http://127.0.0.1:8888/...
so any cookies will be mapped to this exact hostname by the browser.
So, when you use "http://localhost:8888/..."; for the request, the
browser will not send your cookies. (And setting the cookie-header
manually does not work either, because the specs for XMLHttpRequest
requires browsers to ignore those.)

Hope this will help some people that are having the some trouble as I
did!

Best regards,
Stefan

-- 
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