title: Trying to get session from a static method, but getting NULL
body: <p>i am trying to get the current user session from a static function, but the usObj is always null.</p>
  
  <p>here is what i'm doing:</p>
  
  <pre><code>public static List&lt;RequestTypeBL&gt; GetRequestType(string itemNo, int requestTypeID, int claimID) {
      UserSession usObj = (UserSession)HttpContext.Current.Session["UserSessionObj"];
      RequestTypeBL reqTypeBL;
      reqTypeBL= SERT_BO.RequestTypeBL.GetClaimRequestType(claimID, requestType, usObj.UserID, itemNo);
  </code></pre>
  
  <p>am i missing something? please help.</p>
  
  <p>i am able to do the following from regular functions just fine:</p>
  
  <pre><code>return (UserSession)Session["UserSessionObj"];
  </code></pre>
  
  <p>i am seeing this behavior in our production environment only, when the same code is run in development,everything works as it should. could it have something to do with an IIS setting of some sorts?</p>