---- Simon Kitching <[EMAIL PROTECTED]> schrieb: > ---- "Bjørn T Johansen" <[EMAIL PROTECTED]> schrieb: > > I am having a problem with an myfaces application... They are working on > > shifts, so I have set a long session > > timeout, so they don't have to login and out all the time... (Have set it > > to 720 )
And by the way, in past projects I have seen this problem solved by having a piece of javascript in each page that uses a timer to send an XmlHttpRequest to a specific url on the server every few minutes. This keeps the http session alive as long as the browser is pointing to the webapp. When the browser is closed or the user navigates away to some other site, then there is only a short delay before the http session is deleted. This approach scales much better than having very long session timeouts. Regards, Simon

