views:

1199

answers:

3

We're writing an asp.net web app on IIS 6 and are planning on storing our user login variables in a session. Will this be removed when the worker process recycles?

+1  A: 

Using the default in-memory session management, yes.

Dario Solera
A: 

yes, unless you are using out of process session state.

David Thibault
+2  A: 

If session is stored in-proc then YES worker process recycle will remove it. Use Out-of-proc model or sql server to store session value if you want to keep it stored.

bugBurger