HttpApplication instance, loss of session state

  • Thread starter Thread starter Urs
  • Start date Start date
U

Urs

Two questions:

1) What possibly causes HttpApplication from being unloaded or recycled?
2) How can I prevent HttpApplication from being unloaded or recycled (to
prevent loss of session state...) ?

Thanks for any hints. Urs
 
Check out your <processModel> element in your machine.config at:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config
(path might vary)

you'll see a number of options that control app recycling, and you'll be
able to change them.

(I'd make a backup of that file before messing with it).

Karl
 
Thanks. Could I use ProcessModelSection.Timeout instead?
Urs

"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net> schrieb im Newsbeitrag news:%[email protected]...
 
the timeout period is certainly one thing that'll cause the worker process
from restarting (which should be the only thing that causes your
httpapplication from unloading). But as you see in that file, there are
other things that can come into play (ie, memoryLimit,
restartQueueLimit,...)

Karl

--
http://www.openmymind.net/
http://www.fuelindustries.com/


Urs said:
Thanks. Could I use ProcessModelSection.Timeout instead?
Urs

"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net> schrieb im Newsbeitrag
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top