Sorry, my fault. I was doing a setDomain call on my development machine
--that's not on the same domain as the production one-- and IE6 was silently
junking the cookie. Well, that's been tested now :-)...
Thanks again for the help,
Costas
>From: Geoffrey Talvola <gtalvola@...>
>To: Costas Malamas <costasm@...>,
>webware-discuss@...
>Subject: [Webware-discuss] Re: More problems with persistent cookies
>Date: Mon, 10 Dec 2001 12:14:08 -0500
>
>At 10:20 PM 12/7/01 +0000, Costas Malamas wrote:
>
>>Hello again,
>>
>>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,
>>
>>Costas
>
>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
> gtalvola@...
>
><< PermanentCookie.py >>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
|