[Migrated content. Thread originally posted on 13 October 2009]
Hi There,We run Web Thin Client (7.2.2) in an Internet Explorer Browser to run our cobol application remotely. What we are finding is that if the X on the brower window in IE7.0 & 8.0 is used the cobol application and browser does not shut down gracefully causing an internet explorer error (Internet explorer has stopped working) as it tries to force the shutting of the web thin client ActiveX control. If we use the cobol application exit button the application and browser close correctly without error.
Reading thru google blogs/newsgroups there is no way to disable the X on the browser pop-up window.
I have tried playing around with the AcuThinAX1.AcuShutdownAx() method in javascript on the pop-window to close the cobol app gracefully but as it says in the online help - "The shutdown action assumes that the COBOL application is currently in idle mode. If the runtime is not idle, the browser hangs, waiting for the application to idle"
Because the cobol application may not be idle when the user clicks X the browser still gives a general error as it tries to force the shutting of the ActiveX control.
Is there a way to gracefully shutdown the cobol application running in Web Thin Client mode when the user clicks the X on the browser window instead of using the cobol application logout button ?
Thanks in advance.



