> Does any one know how can I manage cookies without having to get the > cookies from HttpState and setting it back everytime I make a request?
Just keep the HttpState instance. > Is there an automatic way to handle cookies? Alternatively, how do I put > a cookie header on PostMethod? I have string representation of the > cookie, I would like to set that as a header on PostMethod. At present > it does not allow me to do so. Cookies are managed by HttpClient based on the content of HttpState. That is why setting 'Cookie' header manually does not really help, as 'Cookie' headers automatically generated by HttpClient always overwrite those set manually. Bottom line: always add your cookies to HttpState. Never set them manually. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]