Home »
MCQs »
ASP.Net MCQs
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?
- Response.Cookies.Add()
- Response.Cookies.SaveCookie()
- Response.Cookies.AddCookie()
- Response.Cookies.AddCookies()
Answer: A) Response.Cookies.Add()
Explanation:
The "Response.Cookies.Add()" method is used to store a HttpCookie in ASP.NET.