This project is read-only.
Project Description
Handle Ajax request with expired forms authentication, in MVC ajax.form

There is a situation where I display a screen dynamically load a partial view using ajax.

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.

The users will have bad UI experience and get confused.

Check out the blog post for more detailed explanation.

Last edited Aug 8, 2012 at 4:22 AM by superwalnut, version 3