Re: [Dev] [Jaggery] Getting session variables by session id.
Hi Dakshika, Thanks for the info. That's what I wanted to know. Regards, On Thu, Feb 5, 2015 at 6:09 PM, Dakshika Jayathilaka daksh...@wso2.com wrote: Hi Asiri, AFAIK its not possible with current jaggery core. Current SessionHostObject doesn't expose method to retrieve Object itself. Here is the code: https://github.com/wso2/jaggery/blob/4d539fd3aed71a601c4788bcda691de7f0b039e0/components/hostobjects/org.jaggeryjs.hostobjects.web/src/main/java/org/jaggeryjs/hostobjects/web/SessionHostObject.java Regards, *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Wed, Feb 4, 2015 at 4:25 PM, Asiri Liyana Arachchi asiriw...@gmail.com wrote: Hi Damith, Thanks for the reply. I've already read it. Using methods mention there it's possible to get the current session's values. Let's say for an example somehow I have two session ID's of two currently logged in users. I want to know if it's possible to access those users session data using their session ID's. Thanks. On Wed, Feb 4, 2015 at 3:10 PM, Damith Wickramasinghe dami...@wso2.com wrote: Hi Asiri, Please see the documentation below.[1] you should be able to access the session values using the given session id. [1] : http://jaggeryjs.org/documentation.jag?api=session Regards, Damith. On Wed, Feb 4, 2015 at 2:48 PM, Asiri Liyana Arachchi asiriw...@gmail.com wrote: Hi all, In php there is a way to access session variables using session id. [1] How can that be done in jaggery. In jaggery session id can be retrieved (session.getId() ) but using that couldn't find a way to access session variables. Appreciate if anybody can help me on this. Thanks [1]: http://stackoverflow.com/questions/8726268/how-to-get-session-variables-using-session-id -- *Asiri Liyana Arachchi* Undergraduate, Department of Computer Science Engineering University of Moratuwa. Mobile : *+94711336652 %2B94711336652* Blog : *asirila.blogspot.com http://asirila.blogspot.com* LinkedIn : *www.linkedin.com/in/9asiri http://www.linkedin.com/in/9asiri* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Software Engineer WSO2 Inc.; http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg lean.enterprise.middleware mobile: *+94728671315 %2B94728671315* -- *Asiri Liyana Arachchi* Undergraduate, Department of Computer Science Engineering University of Moratuwa. Mobile : *+94711336652 %2B94711336652* Blog : *asirila.blogspot.com http://asirila.blogspot.com* LinkedIn : *www.linkedin.com/in/9asiri http://www.linkedin.com/in/9asiri* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Asiri Liyana Arachchi* Undergraduate, Department of Computer Science Engineering University of Moratuwa. Mobile : *+94711336652* Blog : *asirila.blogspot.com http://asirila.blogspot.com* LinkedIn : *www.linkedin.com/in/9asiri http://www.linkedin.com/in/9asiri* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Jaggery] Getting session variables by session id.
Hi Asiri, AFAIK its not possible with current jaggery core. Current SessionHostObject doesn't expose method to retrieve Object itself. Here is the code: https://github.com/wso2/jaggery/blob/4d539fd3aed71a601c4788bcda691de7f0b039e0/components/hostobjects/org.jaggeryjs.hostobjects.web/src/main/java/org/jaggeryjs/hostobjects/web/SessionHostObject.java Regards, *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Wed, Feb 4, 2015 at 4:25 PM, Asiri Liyana Arachchi asiriw...@gmail.com wrote: Hi Damith, Thanks for the reply. I've already read it. Using methods mention there it's possible to get the current session's values. Let's say for an example somehow I have two session ID's of two currently logged in users. I want to know if it's possible to access those users session data using their session ID's. Thanks. On Wed, Feb 4, 2015 at 3:10 PM, Damith Wickramasinghe dami...@wso2.com wrote: Hi Asiri, Please see the documentation below.[1] you should be able to access the session values using the given session id. [1] : http://jaggeryjs.org/documentation.jag?api=session Regards, Damith. On Wed, Feb 4, 2015 at 2:48 PM, Asiri Liyana Arachchi asiriw...@gmail.com wrote: Hi all, In php there is a way to access session variables using session id. [1] How can that be done in jaggery. In jaggery session id can be retrieved (session.getId() ) but using that couldn't find a way to access session variables. Appreciate if anybody can help me on this. Thanks [1]: http://stackoverflow.com/questions/8726268/how-to-get-session-variables-using-session-id -- *Asiri Liyana Arachchi* Undergraduate, Department of Computer Science Engineering University of Moratuwa. Mobile : *+94711336652 %2B94711336652* Blog : *asirila.blogspot.com http://asirila.blogspot.com* LinkedIn : *www.linkedin.com/in/9asiri http://www.linkedin.com/in/9asiri* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Software Engineer WSO2 Inc.; http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg lean.enterprise.middleware mobile: *+94728671315 %2B94728671315* -- *Asiri Liyana Arachchi* Undergraduate, Department of Computer Science Engineering University of Moratuwa. Mobile : *+94711336652 %2B94711336652* Blog : *asirila.blogspot.com http://asirila.blogspot.com* LinkedIn : *www.linkedin.com/in/9asiri http://www.linkedin.com/in/9asiri* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Jaggery] Getting session variables by session id.
Hi Asiri, Please see the documentation below.[1] you should be able to access the session values using the given session id. [1] : http://jaggeryjs.org/documentation.jag?api=session Regards, Damith. On Wed, Feb 4, 2015 at 2:48 PM, Asiri Liyana Arachchi asiriw...@gmail.com wrote: Hi all, In php there is a way to access session variables using session id. [1] How can that be done in jaggery. In jaggery session id can be retrieved (session.getId() ) but using that couldn't find a way to access session variables. Appreciate if anybody can help me on this. Thanks [1]: http://stackoverflow.com/questions/8726268/how-to-get-session-variables-using-session-id -- *Asiri Liyana Arachchi* Undergraduate, Department of Computer Science Engineering University of Moratuwa. Mobile : *+94711336652 %2B94711336652* Blog : *asirila.blogspot.com http://asirila.blogspot.com* LinkedIn : *www.linkedin.com/in/9asiri http://www.linkedin.com/in/9asiri* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Software Engineer WSO2 Inc.; http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg lean.enterprise.middleware mobile: *+94728671315* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Jaggery] Getting session variables by session id.
Hi all, In php there is a way to access session variables using session id. [1] How can that be done in jaggery. In jaggery session id can be retrieved (session.getId() ) but using that couldn't find a way to access session variables. Appreciate if anybody can help me on this. Thanks [1]: http://stackoverflow.com/questions/8726268/how-to-get-session-variables-using-session-id -- *Asiri Liyana Arachchi* Undergraduate, Department of Computer Science Engineering University of Moratuwa. Mobile : *+94711336652* Blog : *asirila.blogspot.com http://asirila.blogspot.com* LinkedIn : *www.linkedin.com/in/9asiri http://www.linkedin.com/in/9asiri* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Jaggery] Getting session variables by session id.
Hi Damith, Thanks for the reply. I've already read it. Using methods mention there it's possible to get the current session's values. Let's say for an example somehow I have two session ID's of two currently logged in users. I want to know if it's possible to access those users session data using their session ID's. Thanks. On Wed, Feb 4, 2015 at 3:10 PM, Damith Wickramasinghe dami...@wso2.com wrote: Hi Asiri, Please see the documentation below.[1] you should be able to access the session values using the given session id. [1] : http://jaggeryjs.org/documentation.jag?api=session Regards, Damith. On Wed, Feb 4, 2015 at 2:48 PM, Asiri Liyana Arachchi asiriw...@gmail.com wrote: Hi all, In php there is a way to access session variables using session id. [1] How can that be done in jaggery. In jaggery session id can be retrieved (session.getId() ) but using that couldn't find a way to access session variables. Appreciate if anybody can help me on this. Thanks [1]: http://stackoverflow.com/questions/8726268/how-to-get-session-variables-using-session-id -- *Asiri Liyana Arachchi* Undergraduate, Department of Computer Science Engineering University of Moratuwa. Mobile : *+94711336652 %2B94711336652* Blog : *asirila.blogspot.com http://asirila.blogspot.com* LinkedIn : *www.linkedin.com/in/9asiri http://www.linkedin.com/in/9asiri* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Software Engineer WSO2 Inc.; http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg lean.enterprise.middleware mobile: *+94728671315 %2B94728671315* -- *Asiri Liyana Arachchi* Undergraduate, Department of Computer Science Engineering University of Moratuwa. Mobile : *+94711336652* Blog : *asirila.blogspot.com http://asirila.blogspot.com* LinkedIn : *www.linkedin.com/in/9asiri http://www.linkedin.com/in/9asiri* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev