I am using AuthorizeAttribute to manage Session in my ASP MVC 3 application. But I have problems with how the login page is displayed when the session is dead. I believe it’s because the page is not recharged. So how can I oblige the page to be recharged if the session is over on each AJAX request ?
Thanks.
EDIT :
I use authorization like this
[Authorize]
public class MySettingsController : Controller
{
//my code here
}
Via javascript: