>>Again, I think you have to make the distinction about where this code is running. Is the above code actually running in a VFP app in the TS session, or is it in a process running simultaneously with the TS client on the client computer? I'm beginning to think you probably have to cause the TS client on the client computer to initiate traffic back to the TS session.
>
>
>yes; this VFP app is running in the TS session causing RDP traffic using the FileToStr and StrToFile functions.
But does this traffic count as activity? Does the session still time out?