How to proceed with authentication on ajax requests in asp.net mvc + Forms authentication -


i new mvc4. using asp.net forms authentication. in page loads able handle authentication , authorization.

i using ajax requests in case of partial views , return object.

in case of partial views able find manage checking ajaxrequest following this

in case of object return how handle authentication ajax requests?

my end goal intimate session time out or @ least redirect login page

you can take @ prevent forms authentication login page redirect when don’t want it phil haack


Comments