hi
by default the cookie is end only to the url which set it. you can change
this by setting the domain and path for the cookie. the Cookie class
provides methods for this. refer the api
regards
anup

At 01:13 PM 7/25/00 +0200, you wrote:
>I have a question concerning the use of cookies :
>I create a cookie and put it on the browser via the method
response.addCookie(Cookie) in my servlet. My problem is that after doing a
redirection, I loose all the cookies created...
>Would anybody have an experience on the way to use cookies in servlets? Is
there something special that I'm missing?
>
>Thanks a lot;
>
>Carine
>[EMAIL PROTECTED]
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to