HttpWebRequestHttpWebRequest默认关闭Cookies,给其赋初始值以打开Cookies读写myRequest.CookieContainer = new CookieContainer()asax在asax中获取虚拟路径对应的物理路径:HostingEnvironment.MapPath()编码UrlEncode()方法也可以指定要用的字符编码格式