I want to show cookie value in div. is it possible. if possible please share your answers.
My code:
X
Delete Page
"Here I want to show cookie value"
Thanks in advance......


KalaiRank #8,005 · 230 reputationPosted Feb 25, 2014, 1:13 AM EST
Client Side:
Here I want to show cookie value
Server Side:
Response.Cookies["cookieName"].Value = "YourcookieName";
cookie.InnerText = Request.Cookies["cookieName"].Value;
Sarath KumarRank #3,637 · 402 reputationPosted Feb 25, 2014, 1:26 AM EST
cookie.InnerText
is it right...
KalaiRank #8,005 · 230 reputationPosted Feb 25, 2014, 1:34 AM EST
Here I want to show cookie value
And write the below code in test.aspx.cs
Response.Cookies["cookieName"].Value = "YourcookieName";
cookie.InnerText = Request.Cookies["cookieName"].Value;
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Feb 25, 2014, 1:40 AM EST
Here is the nice example
http://www.c-sharpcorner.com/UploadFile/ishbandhu2009/how-to-save-and-get-values-from-cookies-through-javascript/