Retrieve within Cookies from C# to jquery
<p>Hello guys i have this problem of getting  lastGuestInsertedId from C# cookies in a code behind file  to another web form that retrieve lastGuestInsertedId values by jquery and then show the value by alerting. Any ideas?</p>

<p>C# codes</p>

<pre><code>            HttpCookie GuestCookie = new HttpCookie("GuestCookie");
            GuestCookie["Key"] = Convert.ToString(lastGuestInsertedId) ;

            GuestCookie.Expires = DateTime.Now.AddDays(1d);
            Response.Cookies.Add(GuestCookie);
</code></pre>

<p>JQuery codes</p>

<pre><code>            var guestkey = $.cookie("GuestCookie")
            alert(guestkey);
</code></pre>
