File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other JSE/JEE APIs
HttpClient - Cookies
Assad Mohamed Bouayed
Joined: Oct 06, 2005
Oct 06, 2005 15:08:00
I use the HttpClient from Apache. I set the following two cookies:
Cookie mycookie1 =
new Cookie(host, MmcpConstants.MMCP_COOKIE_BIG_IP, getBigIP());
Cookie mycookie2 =
When the HTTP request is sent, it looks as follow:
POST /mmcp/C;jsessionid=01cdhfooi1?url=m3 HTTP/1.1
Cookie: $Version="1"; JSESSIONID="01cdhfooi1"
Cookie: $Version=0; BIGipServerMMCP_HTTP=1030006976.36895.0000
===> Why is the value of the JSESSIONID included between double quotes? It seems that the server with which my application interfaces to does not recognize the JESSIONID. Is that possible? How can I remove the double quotes?
I agree. Here's the link:
subject: HttpClient - Cookies
JSF 2 Flash scope cookie not set
How to recive / return cookies to server?
creating cookies across domains
can we retrieve cookie with JSP added thru servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015