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
C#
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..

Vignesh ManiRank #98 · 22.1K reputationPosted Feb 13, 2017, 10:45 AM EST
Vishal PrajapatiRank #836 · 2.7K reputationPosted Feb 13, 2017, 5:51 PM EST
2) http://codemodus.blogspot.in/2016/06/aspnet-mvc-how-to-show-popup-warning.html
Guest UserRank #2,002 · 726 reputationPosted Feb 13, 2017, 7:37 PM EST
Akshay PhadkeRank #161 · 14.6K reputationPosted Feb 13, 2017, 8:31 PM EST
In your web config - set session timeout expired value as