Try Cookie.setPath("/");

-Dave

> -----Original Message-----
> From: Rick Bosch [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 12, 2000 2:05 PM
> To: [EMAIL PROTECTED]
> Subject: Cookie question
> 
> 
> hey
> 
>     i want to set a cookie so when i go to www.myurl.com/one and i get a
> cookie it is also visible at www.myurl.com/two , but the default 
> behavior is
> not the case.  I tried cookie.setDomain(".myurl.com") and
> cookie.setDomain(request.getServerName()) and nothjing seems to work.
> 
> any ides?
> 
> thanks
> rick

Reply via email to