| Dart Home | PowerTCP Server for ActiveX | Custom Development | Reply | PowerTCP Server for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Server for ActiveX Topic: Session Idletime keeps growing dispite use |
| gerbmeister From: Pleasant Grove, UT USA Posts: 44 Member Since: 10/12/04 |
posted July 19, 2005 5:12 PM The SecureFtpServer.Sessions(n).IdleTime will keep increasing, even though the session is actively ftping a file (either up or down). Shouldn't the idletime be 0 when the session is actively doing something? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted July 20, 2005 9:04 AM I just looked at the code and the only time the IdleTime is reset is when a command is received on the control connection. The data connection does not have a hook back into the control connection so it can't reset it's idle time. Does the Session actually get removed? Or does it get reset to 0 after the transfer completes? |
| gerbmeister From: Pleasant Grove, UT USA Posts: 44 Member Since: 10/12/04 |
posted July 20, 2005 2:11 PM I don't believe I have seen the session removed while it is transferring files. I am in the process of testing. The way our system works is that after uploading or downloading, it disconnects, so I haven't noticed if the value is reset to 0. Your info is helpful to us, as we would see connections "hanging on", appearing idle and we wondered why. I had noticed that a file was being uploaded, but wondered why the idle time was still growing. Does the MaxIdleTime value check to ensure that the data channel is not active before terminating a session that exceeds its value? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted July 20, 2005 2:58 PM I can't tell without really digging in the code (something I can't do right now). Please let me know the results of your tests. |
| Reply | PowerTCP Server for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|