MossNelson
Programmer
I have a VFP9 application that runs on a terminal server. Users log in to the Terminal Server session and then log in again to the application.
The problem is that sometimes users just shut down their TS session thereby depriving the application of a required auditing logout record.
I would like to provide a warning advising them to log out of the application if they try to close down their remote session without logging out first.
This would be similar to the "Cannot Quit Visual FoxPro" message when a read is in effect. Of course one could always shut down their computer if they really wanted to but let's assume they want to cooperate and that's where I think a reminder message would come in.
I was advised to use the windows function called WTSRegisterSessionNotification but am not sure if this is possible from within FoxPro. Has anyone else dealt with a similar situation in Terminal Server?
The problem is that sometimes users just shut down their TS session thereby depriving the application of a required auditing logout record.
I would like to provide a warning advising them to log out of the application if they try to close down their remote session without logging out first.
This would be similar to the "Cannot Quit Visual FoxPro" message when a read is in effect. Of course one could always shut down their computer if they really wanted to but let's assume they want to cooperate and that's where I think a reminder message would come in.
I was advised to use the windows function called WTSRegisterSessionNotification but am not sure if this is possible from within FoxPro. Has anyone else dealt with a similar situation in Terminal Server?