title: MVC Access stored cookie
body: <p>I want a dropdown on a page, WHere i can select some currency value to display.</p>
  
  <p>And then, on <strong>any</strong> page, I can access the value that was selected, via the <strong>use of cookies</strong>.</p>
  
  <p>However, I only seem able to access the cookie (Display on screen), if it was posted. Else <strong>refreshing the page, it is blank</strong>.</p>
  
  <p>What am i doing wrong?</p>
  
  <p>Controller</p>
  
  <pre><code>public ActionResult CurrencySelection()
      {
          Response.Cookies.Add(Request.Cookies["Currency"]);
          return PartialView();
      }
  
      [HttpPost]
      public ActionResult CurrencySelection(String currencySelection)
      {
          HttpCookie fc = new HttpCookie("Currency", currencySelection);
          Response.Cookies.Add(fc);
  
          return PartialView();
      }
  </code></pre>
  
  <p>my View/ Helper:</p>
  
  <pre><code>@{
      String currency = Response.Cookies["Currency"].Value;
  
      @("CURRENCY: " + currency)    
  }
  
    @using (Ajax.BeginForm("CurrencySelection", "Header", new AjaxOptions { UpdateTargetId = "currencySelectionDiv" }))
   {      
      &lt;select name="currencySelection"&gt;
        &lt;option value="GBP"&gt;GBP&lt;/option&gt;
        &lt;option value="DKK"&gt;DKK&lt;/option&gt;
        &lt;option value="SEK"&gt;SEK&lt;/option&gt;
        &lt;option value="EURO"&gt;EURO&lt;/option&gt;
      &lt;/select&gt;
  
      &lt;input  type="submit" value="Update" id="submit" /&gt;   
  }
  </code></pre>