Which of the following method is used to store a HttpCookie in ASP.NET?

98. Which of the following method is used to store a HttpCookie in ASP.NET?

  1. Response.Cookies.Add()
  2. Response.Cookies.SaveCookie()
  3. Response.Cookies.AddCookie()
  4. Response.Cookies.AddCookies()

Answer: A) Response.Cookies.Add()

Explanation:

The "Response.Cookies.Add()" method is used to store a HttpCookie in ASP.NET.

Comments and Discussions!

Load comments ↻






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