• Post Reply Bookmark Topic Watch Topic
  • New Topic

Redirection through Filter or SessionListner  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have situation , where in a n applicaiton, there are three different kinds of user say admin , superadmin and genereal user , now
when , user logout or time based logout happens then it is redirected to the same page , for that there is filter used . Now, it needs to
be redirected to the different pages basd on the user type. For that I kept a session variable which store the type , now problem
is once session gets logged out , this is not available to filter and can't put the logic of redirection , so was trying to redirect through
session listner by overriding the sessionDestroyed method ,but here request object is not availaible. Please anyone suggest that what is
the right approach ? .
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!