[ 
https://issues.apache.org/jira/browse/AXIS2-4751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883287#action_12883287
 ] 

Jarek Gawor commented on AXIS2-4751:
------------------------------------

Ivan,

I believe the problem is that the HttpClient instance is being reused here 
between calls and call-specific things like HttpParams and HttpState are being 
shared. Since the HttpClient instance is shared, resetting the cookies on the 
shared HttpState might have bad consequences for other clients executing at the 
same time.

So, I updated the code not to reuse HttpClient instances. The HttpClient 
instances will share the a single HttpConnectionManager instance which should 
result in proper connection management.

Please test this out and let me know if everything still works ok.


> Cookie value is always kept whatever SESSION_MAINTAIN_PROPERTY value is 
> configured
> ----------------------------------------------------------------------------------
>
>                 Key: AXIS2-4751
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4751
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.1
>            Reporter: Ivan
>         Attachments: Axis2-475.patch
>
>
> Cookie value is always kept whatever SESSION_MAINTAIN_PROPERTY value is 
> configured

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to