PRN221_-_FA_2024_-_RE_3088.webp
Q

PRN221_-_FA_2024_-_RE_3088.webp

Kizspy | Question: 39
(Choose 1 answer)
Cookies are small pieces of text that are passed between browser and web server with every request. Cookies in Razor Pages are enabled by default. Choose the correct code to create or set a cookie within a PageModel or Razor file.
A. Response.Cookies.Append("MyCookie", "MyCookie Value");
B. Response. Cookies.Add("MyCookie", "MyCookie Value");
C. Response. Cookies. Create("MyCookie", "MyCookie Value");
D. Response.Cookies. Allow("MyCookie", "MyCookie Value");

Thông tin

Category
PRN221
Thêm bởi
QuocAnh91
Ngày thêm
Lượt xem
904
Lượt bình luận
6
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom