Session and Thread in ASP.NET
<p>I have a ASP.NET website where a thread is responible for doing some code retrived from a database queue.</p>

<p>Is it possible to get access to the Session or pass that as a parameter ?</p>

<p>My current code looks a follows:</p>

<pre><code>MediaJob nextJob = GetNextJobFromDB();

CreateMedia media = new CreateMedia();

Thread t = new Thread(new parameterizedThreadStart(media.DOSTUFF);

t.Start(nextJob);
</code></pre>

<p>The HttpContext.Current.Session is null when running in a thread, so cant do that    </p>
