I am writing a java app that accesses a cookie-using
servlet (the servlet I am communicate with is a closed
commercial product)
I get the cookie via
String cookieInfo =
connection1.getHeaderField("Set-Cookie");
This is what cookieInfo var is...
GatewayID=4:967354909482; path=; expires=Fri,
26-Aug-2005 05:41:49 GMT
I then create another connection and use the above to
set the cookie.
connection.setRequestProperty("Cookie",temp);
I have tried setting temp to
1) the whole string above
2) GatewayID=4:967354909482
3) GatewayID=4:967354909482;
Nothing works. I keep getting an error that means
that I don't have a session. Any ideas?
Thanks,
Phillip
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
___________________________________________________________________________
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