IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only

Logout on Brower Window Close?

  • 1.  Logout on Brower Window Close?

    Posted 12/02/09 07:14 PM

    Is there a way to log a user out on browser close? We have very long session timeouts (because we’re doing NTLM) and so we can’t relealy rely on them timing out.

    I’ve tried the following script, but it’s not working:


    function logout()
    {
    //alert(“function called”);
    window.location = window.location.protocol + “//” + window.location.host + “//?method=logout&returnUrl=http://www.google.com/
    }

    window.onbeforeUnload=logout();

    Any help is appreciated!

    Lucas


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods