Re: WOCookie & IE6
Paul Lynch <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
On 31 May 2006, at 00:04, Yury Peskin wrote:
> Environment: WO 5.2.3, OSX 10.3.9.
>
> I need some help with Cookies and IE6.
> I can see them being written into the response, but I do not see
> them in IE,
> and I can see cookies from other companies there.
> Here's how I write them:
> WOCookie fromCookie = new WOCookie("from", customerEmail, "/",
> "domain.com",
> -1, false);
> fromCookie.setExpires(null);
> context().response().addCookie(fromCookie);
Try setting an expiry date. USing -1 in the constructor or null
means that you are creating a session cookie that will not be saved
by the browser.
Paul