My Oracle Support Banner

How to Close the Browser Which Started a Forms Session (Doc ID 865745.1)

Last updated on FEBRUARY 04, 2022

Applies to:

Oracle Forms - Version and later
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 using Internet Explorer 7 and Firefox 3.0.  Be aware that FF3 is currently not certified for use with Forms or older.  Other versions may or may not work for the reasons noted above. 


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Manual Steps Required for FireFox:

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.