4
Reply

How to show session Timeout Warning message in ASP.NET MVC

Sneha Dhandapani

Sneha Dhandapani

Feb 13 2017 11:48 AM
3.2k

I have an mvc 4 application where I need to show an alert warning when the session reaches its timeout.

I have seen various articles online that explain to do this in asp.net, but I'm looking for a way out to do it in MVC.

Any help would be greatly appreciated.

my web.config

<sessionState mode="InProc" timeout="30" />

Here i set my session time once it expires it return to login page before it return to login page it need to show warning messgae.

Thanks..


Upload Source Code  Select only zip and rar file.
Answers (4)