after appdomain recycles, what happens to sessions?

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?
 
J

Juan T. Llibre

Thay are disposed, since there's no connection
between the previous instance of the AppDomain
and the current one.
 
B

Bruce Barker

if you use inproc sessions, they are gone (as they are stored in the
appdomain).

-- bruce (sqlwork.com)
 
J

Juan T. Llibre

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.

;-)
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top