想问下谁写过相关的程序,我拿IDhttp构造一个Post,仍然不行,始终跳转不到main.htm页面!有哪位朋友开发过这个程序的,给下思路就行了,http://www.xici.net/

解决方案 »

  1.   

    参数找到了,可惜提交不出去,我把参数格式给你看!POST /user/logon.asp?url= HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/msword, */*
    Referer: http://www.xici.net/
    Accept-Language: zh-cn
    Content-Type: application/x-www-form-urlencoded
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; 360SE)
    Host: user.xici.net
    Content-Length: 108
    Connection: Keep-Alive
    Cache-Control: no-cache
    Cookie: SessionID=31F2D169127331F1; CityId=142320100; uid=0; ServerID=1086; desktop=1; vjuids=1f9b309e5.121e24f3a29.0.a17658168ba4b; vjlast=1245042867; HostID=742c4d0dc25f951d-05680fccc312004fea0530ae4d5b4d94; __utma=207079066.330999390.1245042872.1245042872.1245042872.1; __utmb=207079066; __utmc=207079066; __utmz=207079066.1245042872.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)
      

  2.   

    应该是可以,看看漏了什么。用httpWatch好好看看。有些论坛比较怪的,需要多次提交数据。
      

  3.   

    首先我获取到网站的cookie 然后如何将获取到的cookie发送出去呢?