private static void WriteToContext(string key, object value) { HttpContext.Current.Session[key] = value; }