Is there a way to automatically logout a webaccess user when he closes the brower window without clicking on the logout button?
Subject: logout after closing browser
Not really. The closest thing you can get is to execute a JavaScript in the onBeforeUnload event of every (!) page.
But this is not supported by older browsers, nor is it guaranteed, that users have JavaScript enabled.