Just need to set the cookie before you start XSRF

For example:


import com.google.gwt.user.client.Cookies;

.....

// The name of cookie should match with the value defined by 
gwt.xsrf.session_cookie_name in your web.xml
// The value can be anything you want
//
Cookies.setCookie(name, value);

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/ooG5mogf47IJ.
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