>>> Perry Hoekstra <[EMAIL PROTECTED]> 21-Apr-00 6:51:41 PM
>>>
>Here is where my confusion lies
> t_urlConnection.setRequestProperty("Set-Cookie",
"somekey=somevalue");
>or
> t_urlConnection.setRequestProperty("somekey", "somevalue");
> t_urlConnection.connect();
>By the way, I am running under a 2.2-compliant servlet engine.
The former is correct.
The cookie is set in a request header called Set-Cookie, so:
urlcon.setRequestProperty("Set-Cookie", "sessionid="+sessionid);
will work.
Nic Ferrier
___________________________________________________________________________
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