views:

47

answers:

1

I'm having a mvc application which i use form timeout.

But i use ajax form all around the page.

So whn i make a ajax form post after timeout it gets the login page.

But i need to redirect the page even it is an ajax call.

How can i check the form timeout in JavaScript.