It is very hard to track the Browser close int he global,asax file as when the browser is closed the session is automatically terminated and you can not have the access to the event of global.asax file, so it is advisable to make use of some JavaScript code to keep track of the closing window..Thanks & RegardsAnil Kumar PandeyMicrosoft MVP, DNS MVM

# The Global.asax file, also known as the ASP.NET application file, is an optional file that contains code for responding to application-level and session-level events raised by ASP.NET or by HTTP modules.

# The Global.asax file resides in the root directory of an ASP.NET application.

# At run time, Global.asax is parsed and compiled into a dynamically generated .NET Framework class derived from the HttpApplication base class.

# ASP.NET is configured so that any direct URL request for the Global.asax file is automatically rejected; external users cannot download or view the code in it.RegardsPankaj Rajput

This thread is locked for new responses. Please post your comments and questions as a separate thread.If required, refer to the URL of this page in your new post.