Last updated on MAY 12, 2015
Applies to:Oracle Forms - Version 10.1.2.2.0 to 188.8.131.52.0 [Release 10.1.2.2 to 11g]
Information in this document applies to any platform.
This document will describe how to close the browser window (without user confirmation) which was responsible for starting a Forms session.
The sample program in this article is provided for educational purposes only and is NOT supported by Oracle Support Services. It has been tested internally, however, and works as documented. We do not guarantee that it will work for you, so be sure to test it in your environment before relying on it.
The code in this document uses Java Scripting in order to accomplish its goal. If the client machine does not have Java Scripting enabled or is blocked, this code will not work correctly. Additionally, although this document was written as it applies to Oracle Forms, the functionality of the browser and how Java Script responds within it, is not related to the Forms product. If, for any reason, this code does not work for you, the problem is likely the result of changes (e.g. security updates) made by the browser's vendor or a client configuration which is preventing the correct execution of the Java Script code. Such problems are not related to the Oracle product and you should refer to the browser manuals or Java Scripting reference manual in order to debug the problem.
This code has been tested successfully with Oracle Forms 10.1.2.3 using Internet Explorer 7 and Firefox 3.0. Be aware that FF3 is currently not certified for use with Forms 10.1.2.3 or older. Other versions may or may not work for the reasons noted above.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms