a question about disconection

Post here your questions about the OpenSpace 1.x or notify bugs and suggestions.

Moderators: Lapo, Bax

Post Reply
rut1630
Posts: 80
Joined: 29 Jun 2009, 10:27
Location: Israel

a question about disconection

Post by rut1630 »

Hy, have some question:

What happens to the user's session in server when he just close the browser
window- is there any session timeout of smartfox that automaticly discnnect
the user if he doesn't show any activities ?

Thanks
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Hi,
when you close the browser the Flash Player instance get killed and with it the socket connection to SmartFoxServer.

This is what normally happens. Sometimes however browsers don't behave exactly like that (IE for example) and the connection might stay open.
In that case SmartFoxServer has an idle timeout that attempts to shut down the connection after a while.
The parameter is called <MaxIdleTime> and you can change it in the config.xml file
Lapo
--
gotoAndPlay()
...addicted to flash games
rut1630
Posts: 80
Joined: 29 Jun 2009, 10:27
Location: Israel

Thanks alot

Post by rut1630 »

Thanks alot, that's what i hoped.
Post Reply