Prevent Forms Authentication Login Page Redirect When You Don’t Want I(haacked.com)
submitted by
rcash(4149) 7 months, 8 days ago
One pain point when hosting lightweight HTTP services on ASP.NET is making a request to a URL that requires authentication. Let’s look at a snippet of jQuery to illustrate what I mean. The following code makes a request to /admin/secret/data. Let’s assume that URL points to an ASP.NET MVC action with the AuthorizeAttribute applied, which requires that the request must be authenticated.
|category: ASP.NET
|Views: 14
tags:
ASP.NET another
Everyones tags:
Your Tags: