hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norrod, Dennis G Mr Veridian-MRJ" <Dennis.Nor...@DET.AMEDD.ARMY.MIL>
Subject RE: [httpclient][session][how to create a session]
Date Fri, 18 Jul 2003 16:37:56 GMT
Hi Vincent,

If you want to know how to use the same connection for multiple requests, use the recycle
method that should be available for the request method you're using. Just keep in mind that
all attributes for the connection are cleared - except the host and authentication, if I remember
correctly. So, if your next request is for the same path as the previous request, then you'll
have to save it (getPath()), recycle the request, and then reset it (setPath()).

Later.
Dennis

-----Original Message-----
From: vincent chappuis
To: commons-httpclient-dev@jakarta.apache.org
Sent: 7/18/03 11:39 AM
Subject: [httpclient][session][how to create a session]

Hi all, I'm a beginer in HttpClient.

My problem is the next one : 

How to keep a session using HttpClient API ? 

Best regards 



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message