Speaking of "Jonny" and code
Submitted by charlie.collins on Wed, 02/28/2007 - 22:42
Tagged:
The GWT boards are very often their own little slice of the Daily WTF. This one literally made me laugh out loud tonight, thought I would share:
"Hi, I would like to set and get Cookies in my Application, but when I try
this :
Cookies.setCookie("test", "myHost", new Date(), "dom", "/", false);
String cookie = Cookies.getCookie("test");
cookie is always null. I tested it in Firefox and IE, I have cookies
enabled, but even so my retrieved cookie is alwas null....
. . .
(Hint: notice the cookie expiration date being set, the third param to setCookie().)







Recent comments
22 weeks 1 day ago
22 weeks 2 days ago
24 weeks 6 days ago
25 weeks 4 days ago
25 weeks 4 days ago
25 weeks 4 days ago
30 weeks 18 hours ago
30 weeks 2 days ago
30 weeks 5 days ago
31 weeks 3 min ago