When calling a function from ajax. Program flow does not recognized the expired session i.e not redirect to the login page. Instead of that, it saves the record. I am workin
I would like to sugguest you to use StatusCode = 306.
I met some problem when use 401.IIS treat 401 different from what I understand.
306 works fine for me.