Ok, I figured it out. Netscape doesn't like INTEGER.MAX_VALUE. I put in
9000000 (1041 days) and it worked!
----- Original Message -----
From: "Shrisha Radhakrishna" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 06, 2000 8:53 AM
> Hi All,
> Anybody faced a problem in creating persistent cookies? IE seems to
> keep the cookie, but, netscape kills the cookie upon exit.
>
> Here is how I set the cookie:
> Cookie UserCookie=3Dnew Cookie("LoginID",name);
> UserCookie.setPath("/");
> UserCookie.setMaxAge(Integer.MAX_VALUE);
> res.addCookie(UserCookie);
>
> TIA,
> Shrisha
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets