Loading ...

Sessions and Application pools in IIS

Who is online?  0 guests and 0 members
home  »  forums   »  codeasp.net community   »  asp.net web hosting   » Sessions and Application pools in IIS

Sessions and Application pools in IIS

Posts under the topic: Sessions and Application pools in IIS

Posted: 8/18/2011

Lurker 5  points  Lurker
  • Joined on: 8/18/2011
  • Posts: 1

Do session variables causes the way application pool of the website on the IIS recycle? 


Posted: 8/19/2011

Starter 727  points  Starter
  • Joined on: 6/6/2011
  • Posts: 74

Hi Mevlish,

An application domain will unload when any one of the following occurs:

  •  Machine.Config, Web.Config or Global.asax are modified
  • The bin directory or its contents is modified
  • The number of re-compilations (aspx, ascx or asax) exceeds the limit specified by the <compilation numRecompilesBeforeAppRestart=/> setting in machine.config or web.config  (by default this is set to 15)
  • The physical path of the virtual directory is modified
  • The CAS policy is modified
  • The web service is restarted
  • (2.0 only) Application Sub-Directories are deleted

If you need more answers related with this problem, read this nice article from Tess Ferrandez: http://blogs.msdn.com/b/tess/archive/2006/08/02/asp-net-case-study-lost-session-variables-and-appdomain-recycles.aspx 

Best Regards,

Gjorgji


Posted: 8/19/2011

Professional 8505  points  Professional
  • Joined on: 5/3/2010
  • Posts: 391

Mevlish Dcosta said:

Do session variables causes the way application pool of the website on the IIS recycle? 

In reality, no. The oposite way, yes.

If you have any specific problem, please describe it in details.

Regards,
Hajan 


Page 1 of 1 (3 items)