Disconnect idle user from room

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

Moderators: Lapo, Bax

Post Reply
mauro
Posts: 12
Joined: 16 Apr 2010, 06:53
Location: Italy - Ribera (AG)

Disconnect idle user from room

Post by mauro »

It's a way to disconnect a idle user from a single room against the entire smartfox server?

thanks
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

Sorry, no - the idle settings applies to all rooms + zones.

You can make your own logic. i.e. keep track of when the last message was sent from each client, and if it extends your timeout period - disconnect that client via extension.
Smartfox's forum is my daily newspaper.
mauro
Posts: 12
Joined: 16 Apr 2010, 06:53
Location: Italy - Ribera (AG)

Post by mauro »

Ok thanks
Post Reply