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?

  1. Response.Cookies["cookiename"].GetValue
  2. Response.Cookies["cookiename"].CookieValue
  3. Response.Cookies["cookiename"].GetCookieValue
  4. 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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.