Exemplo n.º 1
0
        public void Clear()
        {
            HttpContext httpContext = HttpContext.Current;

            if (HttpCallContext.IsHttpContextValid(httpContext))
            {
                httpContext.Items.Remove("MSExchangeLocalId");
                httpContext.Items.Remove("SingleContextIdKey");
            }
        }
Exemplo n.º 2
0
 public bool CheckId()
 {
     return(HttpCallContext.IsHttpContextValid(HttpContext.Current));
 }