For some reason this code will not set a domain for
this cookie.

Any one know why?
I make sure to set the version to 1 in order to support the
domain parameter, when I do ty to use getDomain() on another page it always returns
as null.



<%




//make a cookie

Cookie kirov = new Cookie("Storm","king");
kirov.setVersion(1);
kirov.setDomain(".idev.com");
kirov.setMaxAge(60);
response.addCookie(kirov);




%>

--
Vincent Stoessel [EMAIL PROTECTED]
Internet Applications Engineer
IDEV http://www.idev.com
V: 301 495 7345 x129

___________________________________________________________________________
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