Preventing user kick

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Post Reply
set_a
Posts: 16
Joined: 23 Feb 2012, 13:24

Preventing user kick

Post by set_a »

Hello,

Usually after some time of inactivitry Smartfox kicks user out from the server.

We have group of users in our apllication, let's call them "administrators", who shouldn't be kicked at all. Is there a way to prevent kicking users after timeout? We read some topics where sending empty commands from client side to server suggested, but it is not acceptable for us. Is it posiible to control kicking process from server side only.


Thanks in advance
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Preventing user kick

Post by Bax »

Inactive users being disconnected automatically is a security system internal to SmartFoxServer and can't be configured per-user.
You can set a very high timeout limit, but this will be applied to all users.
The only possibility is to send a fake extension command to the server (you don't even need to handle it) as a keep-alive system.
Not sure why you say this is not acceptable.
Paolo Bax
The SmartFoxServer Team
Post Reply