Disconnect an inactive applicationTag(s): PFC

[application idle event]
gnv_app.event pfc_idle()

[appmanager contructor event]
Idle(3600)  // that's 3600 seconds


[appmanager pfc_idle event]
IF SQLCA.of_IsConnected() THEN
   SQLCA.of_Disconnect()
   // HALT CLOSE the application
   // or call the pfc_logon event
END IF



If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2012
[ home ]