title: HtpContext.Current is null when calling from web api
body: <p>My project structure in brief.</p>
  
  <p>I have an <code>Angular2</code> app, that calls <code>WebApi</code>, that calls code from another project say (<code>CommonProj</code>). <code>CommonProj</code> code is accessing session as below.</p>
  
  <pre><code>if (HttpContext.Current.Session[sessionKey] != null)
  {
      // code
  }
  </code></pre>
  
  <p>but it gives me Null Reference error because <code>HttpContext.Current</code> is null. When this code is called from other place i.e. non api it works fine. My question is how to access <code>HttpContext.Current</code> in explained situation.</p>