Home »
MCQs »
ASP.Net MCQs
Which of the following property is used to get cookies value in ASP.NET?
99. Which of the following property is used to get cookies value in ASP.NET?
- Response.Cookies["cookiename"].GetValue
- Response.Cookies["cookiename"].CookieValue
- Response.Cookies["cookiename"].GetCookieValue
- Response.Cookies["cookiename"].Value
Answer: D) Response.Cookies["cookiename"].Value
Explanation:
The "Response.Cookies["student"].Value" property is used to get a cookies value in ASP.NET.