title: Accessing HttpContext in a class library - ASP.NET MVC
body: <p>I am populating an instance of a class that represents the session variable and exists in a class library. I need to populate one property that requires me to get access to the <code>Request</code> object. I understand that I can use the <code>System.Web.HttpContext.Current.Request</code> to get the request object?</p>
  
  <p>Is this a good practice. Something tells me that I should be doing this in the controller (or the base controller) that has the <code>System.Web</code> namespace. </p>