Where do you get a reference to the Session object?

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
shaulbehr
Posts: 24
Joined: 15 May 2011, 11:00

Where do you get a reference to the Session object?

Post 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?
shaulbehr
Posts: 24
Joined: 15 May 2011, 11:00

Post 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);
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

I assume this is for SFS2X. If so, please post in the SFS2X section of the forum.
Smartfox's forum is my daily newspaper.
Post Reply