I would like to make a periodic background request from JavaScript on the client to my web application (ASP.NET, IIS 7), but I do not want the request to affect the ASP.NET session timeout.
Is there any way to do this?
You need to avoid sending cookies with your request because this is how session identifiers are transmitted.
If you have an xmlHTTPRequest object, you can delete your cookie header by calling xmlHTTPRequest.setRequestHeader("Cookie", "");
xmlHTTPRequest.setRequestHeader("Cookie", "");