Manually Disconnect ApplinX session


I want to disconnect the ApplinX server session when a user closes their browser. Some of my ASP.Net pages inherit from the GXDefaultLogicWebForm class and when the browser is closed on these pages, the server session is disconnected. I would like to replicate this behaviour in the pages that inherit from the GXBasicWebForm class. Is there a way to do this?

The application specifics:
ApplinX version
Server : IBM Mainframe

Thanks in advance.

Hi Yuben,
Sorry for the delay in my response.
Try adding this line:

gx_appConfig.CaptureBrowserClose = true;

To OnInit in GXBasicWebForm after the first line (base.OnInit).
Let me know if this solved the problem for you,