Some idle users can not be disconnected

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
king3200
Posts: 25
Joined: 28 Oct 2010, 01:48

Some idle users can not be disconnected

Post by king3200 »

Here are some users had connected more than 10 hours, and Write data never changed at all...I think they are all disconected, but user instance still there, is any other met this problem? :(
I have to create a thread to check user whio logined more than 10 hours...
ps: user max idle time is 300~~~seems like it dosen't work... :cry:
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Post by rjgtav »

Hi.

Lets see if I understood all correctly. What do you mean with "Write Data never changed at all"? Which data are you referring to?

Well, I don't remember any problem regarding users not being disconnected after being idle for more than the permitted time... Maybe in your application you're pinging the server all the time, which prevents disconnection?

Please provide more details about the problem and make sure you're running the latest SFS2x with the RC3 Patch
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

What you are referring to is "Ghost connections". This topic is common to any Server that use sockets and it's been discussed at great length all over the forums.
Please read here:
http://forums.smartfoxserver.com/viewto ... 3278#43278
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply