[Building Sakai] how to use JSESSIONID for accessing sakai tool behind login

Jaco Gillman jaco at opencollab.co.za
Wed Mar 28 05:24:15 PDT 2012


Hi Jehan

I recently had to work on something similar in Sakai, only difference, I
used the Sakai login Webservice to get the session ID and then constructed
a URL to the Sakai PDA view.

I also added this parameter to the sakai.properties file under session
management:

*session.parameter.allow=true*

Looking at the values in you email, try the following:

*http://sakai-test/portal/site/<<siteName>>/page/<<toolId>>?sakai.session=**
899d2dd2-76bd-4d00-bbff-2efe7dd47afd*
*
*
*
*

Regards,

*Jaco Gillman***

Java Developer

opencollab

*Tel*: +27 21 970 4017  |  *Fax*:* *+27 21 914 3098**

*Email*: jaco at opencollab.co.za  |  *Skype*: gillmanjc

*Web*: www.opencollab.co.za




On 27 March 2012 08:33, Jehan Badshah <jehan.badshah at nu.edu.pk> wrote:

> Dear All
>
> I am connecting with Sakai from my own application (built in C#.Net),
> after connection I am getting cookie information as following
> JSESSIONID=*899d2dd2-76bd-4d00-bbff-2efe7dd47afd*.fast325; Path=/;
> HttpOnly
>
> Please note it I am not calling login web-service.
>
>  when I want to access user work-space using following URL then login
> screen is prompting, instead of workspace or any other page which is behing
> login.
>
> http://sakai-test/portal?sakai.session=*
> 899d2dd2-76bd-4d00-bbff-2efe7dd47afd*
>
>
> How to use above information for accessing tools like test and quizzes etc
>
>
> Regards
> ----------------------------------------------------
> Jehan Badshah | Sr. Software Engineer
> FAST - National University of Computer and Emerging Sciences
> A.K. Brohi Road, H-11/4, Islamabad
> UAN: +92 (0)51 - 111 128 128 ext 344
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120328/e56feaf7/attachment.html 


More information about the sakai-dev mailing list