Hi,
I added a cookie to the response and call sendRedirect() as follow:
Cookie cookie1 = new Cookie("user_id", user_id);
cookie1.setDomain(".mydomain.com");
response.addCookie(cookie1);
response.sendRedirect(redirectURL);
redirectURL is a URL pointing to a servlet in a virtual host of the same
domain (such as host1.mydomain.com)
The problem is the cookie is not available (return null) in the
redirected
servlet. Any ideas?
-Leo
___________________________________________________________________________
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