eadam
eadam

Reputation: 26091

How to detect the session timeout in Asp.net Core?

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

Answers (1)

Art Base
Art Base

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

Related Questions