Page 1 of 1

Where do you get a reference to the Session object?

Posted: 18 May 2011, 07:58
by shaulbehr
I'm a newbie to SFS; now developing a server side extension.

Quite a lot of the API calls require you to have a "session" object of type ISession. But where do you get that object from?

Posted: 18 May 2011, 08:17
by shaulbehr
Never mind, I found it - but I'll post the answer here in case anyone else needs it:

Code: Select all

ISession session = (ISession) event.getParameter(SFSEventParam.SESSION);

Posted: 19 May 2011, 04:16
by BigFIsh
I assume this is for SFS2X. If so, please post in the SFS2X section of the forum.