Hi,

>
>   I have set a service to transport session scope and the session
> context worked as expected. But when I try to get the session cookie
> id, it always returns null.
>         MessageContext cxt = MessageContext.getCurrentMessageContext ();
>         SessionContext session = cxt.getSessionContext();
>         String cookieId = session.getCookieID();
>
>   On the client side, I used the following code, it also always return
> null.
>
>         stub._getServiceClient().getOptions().getProperty(
> org.apache.axis2.transport.
>                     http.HTTPConstants.COOKIE_STRING)

Try ;
Object cookieString = msgContext.getProperty(HTTPConstants.COOKIE_STRING);

>
>   Can someone shed some lights on how to get the cookie?
>
> Thanks,
> -Bo


-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to