Cookies
You get get client cookies on the server-side. Not all clients can set cookies, but the JavaScript client (obviously) and the C# client can set cookies that will be accessible on the server.
Get a Cookie
We just check if there is a cookie with the key foo
. if so we extract the cookie with the GetCookie
method
if (this.HasCookieKey("foo"))
{
var cookieValue = this.GetCookie("foo");
}