On Fri, 2022-07-01 at 21:29 +0000, Gordon Ross wrote:
> I’m trying to clarify how Cookies, Clients & Requests interact.
> 
> I thought that Cookies would only be shared between requests if they
> were saved from a previous request/respone and added to the
> SessionContext passed to the httpclient.execute() method call in a
> subsequent call. But I’m seeing that requests made with separate
> SessionContexts are being made with cookies from other calls.
> 
> Is this expected behaviour? Or have I subtly screwed up somewhere?
> 
> Thank you,
> 

Hi Gordon

No, cookies should not get mixed up if consecutive requests are not
executed within the same execution context. Please note that different
execution contexts can still share the same cookie store.

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Reply via email to