This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes GWT and the fly likes How do i delete a cookie whose path I do not know ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "How do i delete a cookie whose path I do not know ?" Watch "How do i delete a cookie whose path I do not know ?" New topic
Author

How do i delete a cookie whose path I do not know ?

salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 928

I have a cookie in my client autocreated by spring security : "SPRING_SECURITY_REMEMBER_ME_COOKIE"
I wanted to delete this in GWT,

however, to my suprise, the most simple code of Cookie.removeCookie didnt work in Firefox !!
it works in IE and chrome thought.


Simplest code to recreate this bug without spring :




As i understand, this is an existing issue in GWT scheduled for Milestone-2_0_MS1
http://code.google.com/p/google-web-toolkit/issues/detail?id=1574

any alternatives / Java script to accomplish the same ???


My Website: [Salvin.in] Cool your mind:[Salvin.in/painting] My Sally:[Salvin.in/sally]
 
 
subject: How do i delete a cookie whose path I do not know ?