HttpContext.Current.Request和HttpContext.Current.Response有什么区别

时间:2011-12-04 07:09:49

标签: asp.net cookies

询问cookie时,为什么它来自何处?请求或回复...... 心不是:

HttpContext.Current.Request.Cookies.Get(LangKey).Value

HttpContext.Current.Response.Cookies.Get(LangKey).Value

假设是一样的?

1 个答案:

答案 0 :(得分:5)

请求具有客户端的当前cookie。响应用于设置cookie浏览器端。