Saturday, June 18, 2011

Catching authorization errors with JQuery when using Forms Authentication in ASP.NET MVC 3

When there's an authentication error (timeout or invalid credentials) in ASP.NET MVC 3, the framework returns the login pages as a result of this. What if you want to catch the error in JQuery and handle it client side. Well, you can't. Unless, of course, you read this article.

No comments: