i would like that the users of a webapplication will be redirected to the login page when the session expires "without any interaction to the site": by default when the session expires the page still remains on screen, so the user can for example compile the forms of a page and discover that the session is expired only when he tries to save of to navigate to another page, so he will loose the data compiled on that page.
Has anyone implemented an automatic logoff script when the session expires?

Thank you very much