Closing the browser window would not be acceptable behavior for most public web sites, as users typically browse from one site to another.
But in many cases with IBM® WebSphere® Portlet Factory, you are building sensitive/secure web applications, not web sites. And sensitive web applications should be treated differently for business/security reasons.
statement can be removed if you do not need to use the page for multiple purposes.
if(window._LOGOUT_CLOSE_WINDOW == "true")
Parent topic: Overview: security methodologies: wpf7