title: How to access cookie in an MVC3 action method?
body: <p>How can I access a cookie in an MVC3 application?</p>
  
  <p>It's for a shopping cart, where users can add an item to their cart, meaning to their cookie.</p>
  
  <p>On checkout I would read this cookie for a key value pair of <code>ProductId</code> and <code>Quantity</code> for the appropriate price fetching from the database and calculation.</p>
  
  <p>Very simply, how do I check for cookie and read/write data to them from a Controller action method?</p>