At 10:20 PM 12/7/01 +0000, Costas Malamas wrote:
>I tried the solution on the Wiki, but no luck. I am setting a cookie with
>session.response().addCookie(c) in writeHTML, where c has the properties
>Geoff had in his example (+10 yrs expiration), but the cookie does not
>persist across browser instances. Initially, I thought this was because
>of IE6's cookie blocking behavior, but I have reproduced it with Mozilla 0.96.
>Any ideas anybody? I am clueless...
>Thanks in advance,
Well, all I can say is it works for me, on Windows NT with both IE 5.5 and
Netscape 4.7. I can completely exit from the browser and when I re-enter
the browser, the cookies are still there.
Try the sample servlet that I attached and see if it works.
- Geoff Talvola