Difference between Request.Cookies and Response.Cookies

前端 未结 4 2031
孤街浪徒
孤街浪徒 2021-01-31 15:16

I use both of these many times in my code and don\'t really know what the difference is , if a cookie is set shouldn\'t it be exactly the same in request and response? and is re

4条回答
  •  醉话见心
    2021-01-31 15:44

    Depends on what context.

    Request is the data that gets sent to the server with every http request. Response is the response after the request by the server to the client.

提交回复
热议问题