Re: HttpClient not sending cookie?

2008-06-10 Thread Eduardo J. Ortega U.
Hi, Sebb, Oleg: Oleg was referring to the Cookie mode: params.setParameter(HttpMethodParams.COOKIE_POLICY,CookiePolicy.BROWSER_COMPATIBILITY) I attempted to use the browser compatibility policy, but the same post request isn't sending the cookie yet: 2008/06/10 08:51:10:558 GMT-05:00

HttpClient not sending cookie?

2008-06-09 Thread Eduardo J. Ortega U.
Hi, all: I am trying to use HttpClient to authenticate to a website, and do a couple of GET and POST requests. I can submit the authentication form, get the cookie, and after getting the cookie, I can make a GET request and I see that it sends the approrpiate Cookie header. Then I attempt to do

Re: HttpClient not sending cookie?

2008-06-09 Thread Eduardo J. Ortega U.
I forgot to attach the logfile. Here it is. -- Eduardo J. Ortega U. {\rtf1\ansi\ansicpg1252\deff0\deflang3082{\fonttbl{\f0\fnil Courier New;}{\f1\fswiss\fcharset0 Arial;}} {\colortbl ;\red255\green0\blue0;\red0\green0\blue128;} {\*\generator Msftedit

Re: HttpClient not sending cookie?

2008-06-09 Thread Oleg Kalnichevski
On Mon, 2008-06-09 at 11:25 -0500, Eduardo J. Ortega U. wrote: Hi, all: I am trying to use HttpClient to authenticate to a website, and do a couple of GET and POST requests. I can submit the authentication form, get the cookie, and after getting the cookie, I can make a GET request and I

Re: HttpClient not sending cookie?

2008-06-09 Thread Eduardo J. Ortega U.
Hi, Oleg: Try using the browser compatibility mode. I am not sure I understand what you mean. Could you please point me to some docs about this? Thanks, -- Eduardo J. Ortega U. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: HttpClient not sending cookie?

2008-06-09 Thread sebb
On 10/06/2008, Eduardo J. Ortega U. [EMAIL PROTECTED] wrote: Hi, Oleg: Try using the browser compatibility mode. I am not sure I understand what you mean. Could you please point me to some docs about this? Oleg was referring to the Cookie mode: