摘要: 最近在做自动提交表单的模块,遇到了关于HttpWebRequest.GetRequestStream在执行写入流操作时有Cookie丢失的问题。 上代码 :1myHttpWebRequest.ContentType="application/x-www-form-urlencoded";2myHttpWebRequest.ContentLength=postBuilder.Length;3myHttpWebRequest.Method="POST";4StreammyRequestStream=myHttpWebRequest.GetRequestStr 阅读全文
posted @ 2011-04-12 11:03 SoYoung 阅读(2105) 评论(0) 推荐(1) 编辑