When my login page is loaded browser is creating the session . But user doesn't log in until the session times out . But after that he tries to login. But as session has been already destoryed he is taken to session expire page.
Now my requirement
If session get destroyed when user is still on the login page i should redirect him to session expire page before he tries to login i.e when session destroyed event is fired i should be redirecting him to session expire page.
Please let me what should be my approach on this.