after appdomain recycles, what happens to sessions?

  • Thread starter Thread starter Peter Rilling
  • Start date Start date
P

Peter Rilling

I believe the AppDomain can be recycled by IIS, right? When this happens,
what happens to the Application and Session variables that existed for the
AppDomain? Are they carried over to the new AppDomain for furture requests
from the user, or are they disposed of?
 
if you use inproc sessions, they are gone (as they are stored in the
appdomain).

-- bruce (sqlwork.com)
 
Technically, they wouldn't be carried over to the
new AppDomain, right ? ( even if they are persisted... )

They would be carried over to either the State Server or to SQL Server.
The new AppDomain could access them, though.

;-)



Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
 
Back
Top