How can I make it so that a user doesn't get disconnected when they are idle. Or at least extend the time. I tried extending the time and the users wouldn't disconnect for a while but eventually they would but it would appear with many problems like the user not being able to login because they are still logged in says the server.
Help me get rid of the idle timeouts if possible. Thank you.
Jack
Idle Users
-
Bosskafett
- Posts: 41
- Joined: 24 Jan 2012, 00:04
Idle Users
if(_global.is_rocketsnail == 1){
mc.snail._visible = true;
smartfox.setUserVariables({snl:1, init:false})
}
The Re-creator of Old Games ;D
mc.snail._visible = true;
smartfox.setUserVariables({snl:1, init:false})
}
The Re-creator of Old Games ;D
Re: Idle Users
You can change the <MaxUserIdleTime> parameter in the SFS configuration.
Or you can make the client send an empty extension request to the server from time to time.
Or you can make the client send an empty extension request to the server from time to time.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
-
Bosskafett
- Posts: 41
- Joined: 24 Jan 2012, 00:04
Re: Idle Users
A different client was having problems on his side which caused glitches for himself. Simply changing the MaxUserIdle param helped and the empty extension request is also a good idea.
if(_global.is_rocketsnail == 1){
mc.snail._visible = true;
smartfox.setUserVariables({snl:1, init:false})
}
The Re-creator of Old Games ;D
mc.snail._visible = true;
smartfox.setUserVariables({snl:1, init:false})
}
The Re-creator of Old Games ;D