A program that I must talk to via http is sending me
the following cookie:
GatewayID=14:967422173996; path=; expires=Sat,
27-Aug-2005 24:22:54 GMT
To be able to pick up this same session, what do I set
as the cookie...in particular, the "path" thing is
confusing. Secondly, the ":" in the GatewayID value,
does it need to be urlencoded? I beleive that it
does, but it's not working.
By "not working", the application keeps telling me
that I do not have a session.
Tried everything below:
//attempt1
connection.setRequestProperty("Cookie","GatewayID=14:967422173996");
//attempt2 ,url encode
connection.setRequestProperty("Cookie","GatewayID=14%3A967422173996");
//attempt3-this generates a 404 error!
connection.setRequestProperty("Cookie","GatewayID=14%3A967422173996");
connection.setRequestProperty("Cookie","path=");
Thanks. wits end!
__________________________________________________
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