Login  
Search All Forums
Dart Home | PowerTCP Sockets for .NET | Custom Development Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
AuthorForum: PowerTCP Sockets for .NET (Secure and Standard)
Topic: 5 minute disconnect
salo

From: Västerås, Sweden
Posts: 1
Member Since: 03/14/05
posted March 14, 2005 1:42 PM

We have used your component as a base for a chatserver application for use with Flash. The server handles multiple rooms which the users can enter.

Now a problem has occured: When one or more users are in a room and sit quietly without interacting with each other for exact 5 minutes (not a second more or less) the connection is forcibly closed. If ther'e activity within 5 minutes of the last activity the connection is not broken.

Any ideas of what the problem might be?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted March 14, 2005 3:13 PM

That sounds like the web server has a 5 minute timeout on the session. You should incorporate some kind of "ping", where the client always sends a certain packet every few minutes that you can detect and then throw out.

Either that or increase the session timeout on the web server.
Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX