Multiple/Single Instance(es) of Smartfox Object ?
Posted: 06 Mar 2012, 22:02
Hi,
I have a more of, please advice, kind of a question in regards what would be the best practices of using smartfox Object on the Client side.
I went through he Samples and in SpaceRaces I see that it is spawning new smartfox Object for each window, so I was wondering what is the benefit of having multiple smartfox instances instead of just one?
my impression was that single instance was sufficient since for each instance it has to be connected to the server again and logged in?
that means I have to store user credentials ? or maybe if one smartfox instance is connected other instances will be automatically connected and logged in whenever the are created?
Please suggest
Kind Regards
Levan.
I have a more of, please advice, kind of a question in regards what would be the best practices of using smartfox Object on the Client side.
I went through he Samples and in SpaceRaces I see that it is spawning new smartfox Object for each window, so I was wondering what is the benefit of having multiple smartfox instances instead of just one?
my impression was that single instance was sufficient since for each instance it has to be connected to the server again and logged in?
that means I have to store user credentials ? or maybe if one smartfox instance is connected other instances will be automatically connected and logged in whenever the are created?
Please suggest
Kind Regards
Levan.