webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Manually Disconnect ApplinX session

  • 1.  Manually Disconnect ApplinX session

    Posted Fri September 12, 2008 10:48 AM

    Hello,

    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 5.2.4.00.11
    Server : IBM Mainframe

    Thanks in advance.


    #Mainframe-Integration
    #webMethods
    #ApplinX


  • 2.  RE: Manually Disconnect ApplinX session

    Posted Thu September 18, 2008 09:06 AM

    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,
    Asaf


    #ApplinX
    #webMethods
    #Mainframe-Integration