I am using ASP.Net's forms authentication, but do not want the default behavior of redirecting to a login page when a restricted area is accessed. Instead I would like to invoke a javascript JQuery dialog for the login on the current page, preventing the content behind from loading.
My only issue is that by default the forms authentication wants to redirect.
Is there a handler that I can hook into, or some other option to prevent the redirect?