title: Adding a Reference to System.Web
body: <p>I am trying to create some cookies as I cannot fetch the cookies and a normal way so I will run through the whole header and just create the cookie manually. However whenever I try to use <code>Response.Cookies</code> and <code>HttpCookie</code> I get an error:</p>
  
  <blockquote>
    <p>The name Response does not exist in the current content</p>
  </blockquote>
  
  <p>and</p>
  
  <blockquote>
    <p>The type or namespace name 'HttpCookie' could not be found (are you missing a using  directive or an assembly reference?).</p>
  </blockquote>
  
  <p>I read around and understood I will need to reference </p>
  
  <pre><code>System.Web
  </code></pre>
  
  <p>So I am clicking on <code>Project -&gt; Add Reference -&gt; .NET</code> and select <code>System.Web</code>.  Then I add <code>using System.Web;</code>.</p>
  
  <p>And still I am unable to access them.</p>