Tuesday, March 12, 2013

How to read cookie value in ASP.NET MVC razor view?

@Request.Cookies["cookiename"].Value

@Response.Cookies["cookiename"].Value