How does one save cookies in HTTP Builder 0.5.0/HTTPClient

Posted by Misha Koshelev on Stack Overflow See other posts from Stack Overflow or by Misha Koshelev
Published on 2010-06-09T22:20:35Z Indexed on 2010/06/09 22:22 UTC
Read the original article Hit count: 420

Filed under:
|
|

I am trying per instructions here: http://www.innovation.ch/java/HTTPClient/advanced_info.html

However, if I am using HTTP Builder, the following lines

System.setProperty("HTTPClient.cookies.save","true")
System.setProperty("HTTPClient.cookies.jar","/home/misha/.httpclient_cookies")

do not seem to create a file:

~/.httpclient_cookies

I will post a solution as always when figure it out.

:)

Misha

© Stack Overflow or respective owner

Related posts about cookies

Related posts about httpclient