Reputation: 26091
I can see how to put stuff in Session and Cache from this project.
Can you please tell me how to detect the session timeout in controllers/actions? Do we need some kind of attribute for it?
Upvotes: 9
Views: 5764
Reputation: 1879
If I were you I would try to use MVC6 cache tag helper.
Here you can read more http://www.davepaquette.com/archive/2015/06/03/mvc-6-cache-tag-helper.aspx
Upvotes: 2