QUESTION ABOUT COOKIES

2009-07-08 Thread Joan Balagueró Valls
Again the attach zipped. Joan. - To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Re: QUESTION ABOUT COOKIES

2009-07-07 Thread Oleg Kalnichevski
On Mon, Jul 06, 2009 at 08:14:48PM +0200, Joan Balaguer? Valls wrote: Hello Oleg, I?m trying to send cookies to a servlet with a simple app. Following the tutorial: HttpContext localContext = new BasicHttpContext(); CookieStore cookieStore = new BasicCookieStore();

RE: QUESTION ABOUT COOKIES

2009-07-07 Thread Joan Balagueró Valls
Discussion Asunto: Re: QUESTION ABOUT COOKIES On Mon, Jul 06, 2009 at 08:14:48PM +0200, Joan Balaguer? Valls wrote: Hello Oleg, I?m trying to send cookies to a servlet with a simple app. Following the tutorial: HttpContext localContext = new BasicHttpContext(); CookieStore cookieStore

Re: QUESTION ABOUT COOKIES

2009-07-07 Thread Oleg Kalnichevski
2009 16:18 Para: HttpClient User Discussion Asunto: Re: QUESTION ABOUT COOKIES On Mon, Jul 06, 2009 at 08:14:48PM +0200, Joan Balaguer? Valls wrote: Hello Oleg, I?m trying to send cookies to a servlet with a simple app. Following the tutorial: HttpContext localContext

RE: QUESTION ABOUT COOKIES

2009-07-07 Thread Joan Balagueró Valls
: martes, 07 de julio de 2009 17:18 Para: HttpClient User Discussion Asunto: Re: QUESTION ABOUT COOKIES On Tue, Jul 07, 2009 at 05:04:59PM +0200, Joan Balaguer? Valls wrote: Hello Oleg, Thanks, after some tests this is exactly what it happens. When I send this cookie to my servlet, I receive

Re: QUESTION ABOUT COOKIES

2009-07-07 Thread Oleg Kalnichevski
. Post it inline. Oleg -Mensaje original- De: Oleg Kalnichevski [mailto:ol...@apache.org] Enviado el: martes, 07 de julio de 2009 17:18 Para: HttpClient User Discussion Asunto: Re: QUESTION ABOUT COOKIES On Tue, Jul 07, 2009 at 05:04:59PM +0200, Joan Balaguer? Valls wrote: Hello Oleg

QUESTION ABOUT COOKIES

2008-03-05 Thread Joan Balagueró
Hello, I’ve a little question about cookies. I’ve a MultiThreadedHttpConnectionManager, and I get an HttpClient instance from it. This httpclient object IS SHARED by all threads of my servlet (it means, I only have 1 instance of httpclient). I set the RFC-2109 in this way: HttpClient

Re: Question About Cookies

2008-03-05 Thread Roland Weber
Hello Joan, there is no need to shout. The question is: doing this, am I setting this cookie for all threads or just for the current thread that is executing this code? For all threads. Obviously, I want to set this cookie just for the current thread, not for all. Is this correct? And if

RE: Question About Cookies

2008-03-05 Thread Joan Balagueró
method. But how? Should I use the method.getResponseHeader(Set-Cookie)? Or there is another way? Thanks, Joan. -Mensaje original- De: Roland Weber [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 05 de marzo de 2008 19:38 Para: HttpClient User Discussion Asunto: Re: Question About

Re: Question About Cookies

2008-03-05 Thread Roland Weber
Joan Balagueró wrote: Now I know how to send a cookie just related to one thread. But how to receive a cookie from my remote server? I was using : Cookie[] auxCookies = objHttp.getState().getCookies(); Now I know this is incorrect. I suppose that I must get cookies from the Post method. You