On Sun, Mar 11, 2012 at 10:43 AM, Manjula Rathnayake <[email protected]>wrote:

>
>
> On Sun, Mar 11, 2012 at 10:35 AM, Sanjiva Weerawarana <[email protected]>wrote:
>
>> Why does anyone want to get the actual cookie value on the server side??
>> The session is represented by the session object .. what more do you want
>> the cookie for?
>>
> This is needed when we need to map some state in server side with current
> session, for example the user who is logged in, need to be stored. I came
> across this when developing sso relying party. Actually this is available
> in JSP.
>

And initially I thought we can store logged in user value in a session
variable. But when Identity server redirect user to assertion consumer
service, the session is different from the jaggery app requested. That is
why I had to maintain the session id and user id in host object
implementation.

Thank you.

>
> Thank you.
>
>>
>> Sanjiva.
>>
>> On Sun, Mar 11, 2012 at 10:29 AM, Manjula Rathnayake 
>> <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> We get JSESSIONID from request.getHeader("Cookie") for the moment.
>>>
>>> Thank you.
>>>
>>> --
>>> Manjula Rathnayaka
>>> Software Engineer
>>> WSO2, Inc.
>>> Mobile:+94 77 743 1987
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sanjiva Weerawarana, Ph.D.
>> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
>> email: [email protected]; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1
>> 650 265 8311
>> blog: http://sanjiva.weerawarana.org/
>>
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> Manjula Rathnayaka
> Software Engineer
> WSO2, Inc.
> Mobile:+94 77 743 1987
>



-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to