Info
Version: | 1.0.0 |
Author(s): | wanw |
Last Update: | Wednesday, August 8, 2012 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | http://mvcdiary.com/2012/08/08/handle-ajax-request-with-expired-forms-authentication-in-mvc-ajax-form/ |
NuGet Url: | https://www.nuget.org/packages/AjaxRequestAuthorizeAttribute |
Install
Install-Package AjaxRequestAuthorizeAttribute
dotnet add package AjaxRequestAuthorizeAttribute
paket add AjaxRequestAuthorizeAttribute
AjaxRequestAuthorizeAttribute Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
And when the authentication expires, user initiates an ajax call, then the action is being called without authorization.
It actually returns a login view inside the DOM object on the page rather than returns a expected content with partial view.