Handle session expiration
4.3.2. Session Expired Handling You can also redefine the onExpired framework method that is called on the SessionExpiration event. A4J.AJAX.onExpired = function(loc, expiredMsg){ if(window.confirm("Custom onExpired handler "+expiredMsg+" for a location: "+loc)){ return loc; } else { return false; } } This function can take the following parameters: loc The URL of the current page (can be updated on demand) expiredMsg A default message for display in the event of SessionExpiration.