I want to detect session timeout inside mvc action method. I know that I can use Authorize attribute to detect it. But I don't want to use it at this moment.
public async Task<ActionResult> Check()
{
return View();
}
Is there any way to achive this kind of thing?