What constitutes a web application instance / session?
<p>There is something I am unclear about.</p>

<p>Say I have SomeModule.dll</p>

<p>It has a static class called UserSession.</p>

<p>Could I for example, safely store user-specific information here:
Ex:</p>

<pre><code>UserSession.Name = "xxx"
</code></pre>

<p>I know I can use HTTPConext.Session.... but I am wondering exactly the scope of a session/ Mainly, if the user has a prolonged session. Say the user logs on and I store some stuff in Session(user)...</p>

<p>If he comes bak in 3 weeks and I read a cookie of his and it is still valid, the page should look and feel like he never left. When does the HTTPContext or any session variables get erased and must be re-queried and reset?</p>

<p>Thanks</p>
