Redirect to login page automatically after some time
- by ASD
How can we redirect to login page automatically after some time?
I have a requirement to redirect to login page if the current page is idle for 10 minutes in Java/JSP.
I tried to use <meta http-equiv="refresh" content="120;url=./login.html"> tag. This works only when I click on any link but not automatically after 2 mins(120secs).
Can anyone tell me how to redirect to login page automatically?