Session Timeout (App Pool Recycle) and jQuery

Discussion in 'Site Programming, Development and Design' started by thevictorchen, Mar 14, 2012.

  1. Using ASP.NET 4.0 and JQuery 1.7.1. I am on Winhost basic hosting.

    I am having lots of problems related to lost sessions. The basic problem is my websites (www.dishshout.com) application pool recycles after I visit 10-20 pages sequentially, every single time.

    By running multiple tests, slowly removing various parts of the application I think might be troublesome (means helping garbage collection by even Disposing DataTable's), I found the problem in the area I'd least expect... jQuery. Once I remove all references to jQuery, I've had zero session timeout problems.

    I like jQuery and am now on the mission to find a way to properly include jQuery, but wanted to add a post here to find out how many other's coding in .NET with jQuery have Application Pool Recycle problems. If you try removing jQuery (just for testing purposes on a single page), do you notice less Application Pool Recycle problems?
     
    Last edited by a moderator: Oct 14, 2015

Share This Page