Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsForm based login & Session expiry
https://www.eclipse.org/forums/index.php/mv/msg/683382/1283496/#msg_1283496
]]>Fabian Henniges2014-04-03T13:40:17-00:00Re: Form based login & Session expiry
https://www.eclipse.org/forums/index.php/mv/msg/683382/1288653/#msg_1288653
To keep track of xml http requests I´ve redefined rwt.remote.Request.createXHR using a generated script and the JavaScriptExecutor. It also contains the result of RWT.getUISession().getHttpSession().getMaxInactiveInterval() as maxInactiveInterval.
The script uses setTimeout function to call a logoutRedirect function just before session expiry. That function calls a ServiceHandler to end the current session and reloads the page.
Works at least for IE8, current Firefox and Chrome.