[ 
https://issues.apache.org/jira/browse/AXIS2-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lionel Pieniazek reopened AXIS2-2062:
-------------------------------------


I download the snapshot and the problem is still there.

Could you contact me?

Lionel

> Session Management Problem whe use the WAR distribution on Tomcat or similar.
> -----------------------------------------------------------------------------
>
>                 Key: AXIS2-2062
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2062
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: client-api, kernel
>            Reporter: Lionel Pieniazek
>         Assigned To: Deepal Jayasinghe
>         Attachments: AbstractHTTPSender.java, Constants.java, 
> SOAPOverHTTPSender.java
>
>
> There is a bug when use the WAR distribution over Tomcat or similar. The way 
> that the server manage the session it's not using the "axis_session" cookie. 
> Tomcat or similar uses "JSESSIONID" cookie for session. 
> When the SOAPOverHTTPSender send back the Cookie to the client it puts the 
> wrong name to it.
>         //setting the cookie in the out path
>         Object cookieString = 
> msgContext.getProperty(HTTPConstants.COOKIE_STRING);
>         if (cookieString != null) {
>             StringBuffer buffer = new StringBuffer();
>             buffer.append(Constants.SESSION_COOKIE); ###### Look at this LINE 
> #########
>             buffer.append("=");
>             buffer.append(cookieString);
>             postMethod.setRequestHeader(HTTPConstants.HEADER_COOKIE, 
> buffer.toString());
>         }
> If you change that line with "buffer.append("JSESSIONID"); " everithing works 
> OK.
> That a look at http://issues.apache.org/jira/browse/AXIS2-2042 to use a good 
> example to try it.

-- 
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