Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 489
eadam Avatar asked Feb 24 '15 03:02

eadam


1 Answers

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

like image 64
Art Base Avatar answered Sep 21 '22 04:09

Art Base