This same code is working for me in IE7. Is it possible that IE is setup to block cookies?
On Dec 19, 10:43 am, "[email protected]" <[email protected]> wrote: > I have the following code : > > Date now = new Date(); > long nowLong = now.getTime(); > nowLong = nowLong + (1000 * 60 * 60 * 24 * 10);//10 days > now.setTime(nowLong); > > GWT.log("setting a cookie",null); > Cookies.setCookie("regio", "abc", now); > > This works no problem in Firefox, Google Chrome and Safari. But the > cookie just is not saved in IE7. When I view the cookies in IE7 it > just isn't there. Any ideas what is going wrong ? Or anyone has > another way to save cookies (using JSNI if necessary). > > Thanks > Frank --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
