Question about server variables

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

Moderators: Lapo, Bax

User avatar
mistermind
Posts: 131
Joined: 15 Sep 2007, 01:33
Contact:

Question about server variables

Postby mistermind » 15 May 2008, 18:33

Hello there guys,
I've just started working with extensions and boy let me just say great job on all docs, examples and forum tutorials. I've managed to learn everything in less then a day and got a perfect MySQL connection going all done by an extension :)

I have one question thou: Back then when I was using ASP as a connection bridge, I was relying on a very good feature provided by the language: session variables. I was able to store single server variables that were only accessible by the user who created it (well you guys already know that lol)

My question is: Is it possible to create session variables like that on extension side?
SELECT * FROM users WHERE clue > 0
0 rows returned.
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 19 May 2008, 06:26

Each user comes with a properties object attached to it
The object is a Java HashMap.
If you are using Actionscript on the server side, check all the details here -> http://www.smartfoxserver.com/docs/docP ... s/User.htm
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 58 guests