[Using Sakai] Get active session from php

Beth Kirschner bkirschn at umich.edu
Wed Sep 26 10:09:22 PDT 2012


I'd suggest looking into the LinkTool for a really lightweight integration:
	https://source.sakaiproject.org/svn/linktool/trunk/linktool.txt

- Beth

On Sep 26, 2012, at 12:22 PM, Julian Brown wrote:

> Hello everyone,
> 
> I just started using sakai and am far from knowing sakai's capabilities. 
> I would like to integrate a php application into a sakai portal (using an iframe). Would it be possible to get the users session from the php application in order to transparently use sakai's user on the php application?
> I saw that the "sakaisigning" webservice exists, and I also the example in
> https://source.sakaiproject.org/contrib/sakaiscript/webservices/examples/sakaimoodleauth/lib.php
> Where a user is authenticated using this webservice.
> But is there a way to verify if the user is authenticated and retrieve his login information (name, roles, ...) under these conditions?
> 
> Thanks in advance,
> 
> Julian
> _______________________________________________
> sakai-user mailing list
> sakai-user at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-user
> 
> TO UNSUBSCRIBE: send email to sakai-user-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"



More information about the sakai-user mailing list