The httpcontext is owned by the main thread so you will need to send in a
reference to the object to the thread. Here is an example:
function(System.Web.HttpContext Stream)
{
Stream.Response.Write("vlah");
}
call it like so
function(HttpContext.Current);
--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"Bruce W.1" <no@direct.email> wrote in message
news:40***************@direct.email...
I need to spin of a thread that periodically checks the Application
state. How can a thread access Application or Session states? Send it
the httpContext?
Thanks for your help.