A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
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?
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: HttpClient - Cookies
How to recive / return cookies to server?
JSF 2 Flash scope cookie not set
can we retrieve cookie with JSP added thru servlet
creating cookies across domains
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014