Can I call HttpContext.Current
from within a static class and Method?
I want to store a value on a per-user basis but want to be able to access it in a static manner.
e.g. Will this work?
public static class StaticClass
{
public static string SomeThing
{
get { return HttpContext.Current.Items["SomeItem"].ToString(); }
}
}