在asp.ne中,几种获取请求参数值的方式

一、Request.QueryString[key]-获取url上面的参数值

二、Request.Form[key]-获取表单提交的参数值,既Content-Type= application/x-www-form-urlencoded

三、Request[key]-获取参数值的优先级:url>表单>cookie>系统变量

四、Request.Cookies[lkey]-获取cookie对象

posted on 2017-01-17 09:24  heartoffreshbird  阅读(125)  评论(0)    收藏  举报