Hi Manjula, This is mainly you are using the session id as the unique identifier at the IS side. Since at the moment we don't have a method in jaggery session object to get the ID, you derive the id from the cookie. (Which is not ideal)
Well IMO, there is no harm on having the id property in the session object (like in PHP you can get the id from session_id()). We will add this to session object in M4. regards, /nuwan On Sun, Mar 11, 2012 at 10:49 AM, Manjula Rathnayake <[email protected]>wrote: > > > 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 > > -- *Thanks & Regards, Nuwan Bandara Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://nuwan.bandara.co * <http://www.nuwanbando.com/>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
