using System; using System.Net; using System.IO; using System.Text; [STAThread] static void Main(string[] args) } 注释写得很明确了,不多罗嗦了。 补充:如果是以get方式登录的话,直接修改url就可以了,indate可以不写任何东西。(不要去修改myHttpWebRequest.Method为GET),比如把asp文件修改为if request.querystring("aa")="zhuye" then session("ok")="ok",只要修改url为string url="http://localhost/csdn2/1.asp?aa=zhuye";即可。 相关文章: 2021-06-07 2022-12-23 2021-10-27 2021-06-08 2021-09-04 2021-08-30 2021-05-22 2021-06-05