[jQuery] Re: Catching 401 errors to $.ajax calls

2008-10-22 Thread Christoph Haas
On Mittwoch, 22. Oktober 2008, Mike Alsup wrote: I would like to use $.ajaxSetup to set up a global error handler that knows how to deal with HTTP 401 codes (Authentication required). I am enhancing a few tables with AJAX using jQuery but I made my backend send back an HTTP error code 401

[jQuery] Re: Catching 401 errors to $.ajax calls

2008-10-21 Thread Mike Alsup
I would like to use $.ajaxSetup to set up a global error handler that knows how to deal with HTTP 401 codes (Authentication required). I am enhancing a few tables with AJAX using jQuery but I made my backend send back an HTTP error code 401 to force authentication if the user's login session