I have a ashx handler in "_layouts/ihandler/.." in which I make AJAX requests for an in page search.
If my page stands still for to long the requests change from 200 to 401 return status, this is even if I keep making AJAX requests, as it only appears to go away on a page refresh.
Ajax request via GET returns correctly formed JSON with Error 200 when: - Page is freshly refreshed - Page has been standing for under a couple of minutes
Ajax request via GET returns correctly formed JSON with Error 401 when: - Freshly deployed and page not refreshed (Expected) - Page has stood still and not refreshed for a couple of minutes but still returns results - Page has been used only for Ajax requests and has not been a refreshed for a couple of minutes but still returns results
This is something I have not dealt with before, and I cannot find a reason for returned results on a 401 and I cannot also find out how to keep the 401s from happening.
[update]
Added that calls are using GET
Returns JSON
