How should I toggle JQuery ajax on or off based on .NET Auth
**Firstly** is there a way to turn JQuery Ajax On or Off globally? I'm looking for something similar to this http://api.jquery.com/jQuery.fx.off/ - but for $.ajax.

**Secondly** what is the best way to set an On/Off flag based on whether a user is logged in?

*I am using ASP.NET MVC3.*

How should I toggle JQuery ajax on or off based on .NET Auth
===

**Firstly** is there a way to turn JQuery Ajax On or Off globally? I'm looking for something similar to this http://api.jquery.com/jQuery.fx.off/ - but for $.ajax.

**Secondly** what is the best way to set an On/Off flag based on whether a user is logged in?

*I am using ASP.NET MVC3.*
