i have developed an web application using JSF.
In that, if the user remains idle in the application for more than 15min then their session should expire.
i have tried it by giving <session-timeout> tag value as 15 min in web.xml.
but i don't know how to redirect the user to the login page after session timeout.
Is it possible to use session.setMaxInactiveInterval() in my application to expire the session after that particular time?
please give me some ideas to solve this issue.