Actually my problem is that I’m not able to read a cookie value. It always shows null. My cookie name is intUserId
My C# Code is listed below
HttpCookie myCookie = new HttpCookie("intUserId");
myCookie = Request.Cookies["intUserId"];
I have to read a content value of 52. I’m struggling with this issue.
The cookie information should be name = intUserId and content = 52
After creating the cookie you have to return it to the client. Use: