RE: CGI Infinite Loop
Posted in 1997
Hi All Byron Wrote> >>I have the following problem when executing a 4GL CGI prog. on an >>intranet site. >>The program goes into an infinite loop when the user presses the stop >>button in netscape while the program is in the middle of downloading the >>output from the database. Have tried the following: >>WHENEVER ERROR STOP >>WHENEVER ERROR CALL html_error_msg >> html_error_msg basically outputs an error webpage and then CALL >>icgi_free() and exit program. >>Nothing works. The only way to end the program is to kill the process >>on the server. That sounds like an interesting problem. Something I overlooked while testing my CGI/4GL interface. Are you using the webkit from Informix, or is this a product you have developed? I am gonna try re-create the error and find a workaround. If I do I will post it back here. >>Anyone have any ideas?? Any suggestions would be GREATLY appreciated. One possible solution does spring to mind. Using Javascript in the <HEAD> section of your application, you can open the entire application in browser windows of your own design. There are various options available to you - and one of them is to hide the users toolbar. It's not very pretty but it works well (no stop button....no hangtime) Keep us updated on your progress. Ciao David david@west.co.za Senior Software Consultant The West Solutions Group Friends help you move...REAL friends help you move bodies!