1
Answer

MVC5 Session Timeout

Anand MR

Anand MR

9y
285
1
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)