Anand MR

Anand MR

  • NA
  • 39
  • 19.9k

MVC5 Session Timeout

Oct 13 2015 12:09 AM
Hi friends,
                             Im my MVC application in web.config  confiqured the session like
 
<sessionState mode="InProc" cookieless="false" timeout="10" />
 
My requirement:-
                                   Once session time out how to redirect  automatically to  Login page or some other page. 
 
Can anyone suggest how to handle the session time out that need to be show the massage like 'Your Session has expired' in seperate page
 
 
thanks 
 
 
 
 
 
 
                           

Answers (1)