public void SetInSession(string key, object value)
{
if (HttpContext.Current == null || HttpContext.Current.Session == null)
{
return;
}
HttpContext.Current.Session[key] = value;
}
{
if (HttpContext.Current == null || HttpContext.Current.Session == null)
{
return;
}
HttpContext.Current.Session[key] = value;
}
No comments:
Post a Comment