<<You have to set the cookie to ensure that the browser transmits it to
the server.>>
What are you talking about with "set the cookie". Isn't that what Leo is
doing with "addCookie"?
Cookie cookie1 = new Cookie("user_id", user_id);
cookie1.setDomain(".mydomain.com");
response.addCookie(cookie1);
response.sendRedirect(redirectURL);
Dave Ford
___________________________________________________________________________
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