You are viewing a plain text version of this content. The canonical link for it is here.
Posted to savan-dev@ws.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2010/06/28 22:55:50 UTC

[jira] Commented: (AXIS2-4751) Cookie value is always kept whatever SESSION_MAINTAIN_PROPERTY value is configured

    [ 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org