how to send redirect when session time is happended in jsf

hi,in jsf how to send redirect when session time is happendedwith regardsshannu sarma
[113 byte] By [shannua] at [2007-10-3 1:30:50]
# 1
With javascript. Make a timer and check every minute or somithing like that and then window.location = "/faces/login.jsp"; or something like that
amitteva at 2007-7-14 18:28:42 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
I would go in for a Filter on the FacesServlet.
Akash_Gangaa at 2007-7-14 18:28:42 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...