Well , I have an ASP.NET MVC 3 RAZOR PAGE , and I declare a cookie from server-side:
@{
Request.Cookie["Name1"].Value = "Value1";
}
and, when I want to use and change it at client side , it working dubious
<script type = "text/javascript">
var e
function aa(c) { $.cookie("Name1", c); }
function bb() { e = $.cookie("Name1"); }
</script>
It`s something wrong ?