因为get后,服务器返回一个http 302
其中设置了cookie
set-cookie:******怎么获得这个cookie啊?解决了马上结贴这里拿分:
http://community.csdn.net/Expert/topic/5359/5359840.xml?temp=.7048151
http://community.csdn.net/Expert/topic/5305/5305033.xml?temp=.578274
http://community.csdn.net/Expert/topic/5359/5359533.xml?temp=.4489557
http://community.csdn.net/Expert/topic/4805/4805191.xml?temp=.5807917
http://community.csdn.net/Expert/topic/4798/4798443.xml?temp=.9974634
http://community.csdn.net/Expert/topic/4798/4798261.xml?temp=.4877436
http://community.csdn.net/Expert/topic/5360/5360469.xml?temp=.5945703

解决方案 »

  1.   

    建议 用 Ics    HttpCli1.OnHeaderEnd := nil;
        if Cookielist.Count > 0 then
          begin
            HttpCli1.Cookie := Cookielist[Cookielist.Count - 1];
            ms.Clear;
            HttpCli1.URL := 'http://www.aspoo.com/Inc/Cl_GetCode.asp?type=VoteCode';
            Label3.Caption := 'get bmp ......';
            Repaint;
      

  2.   

    Ics  有 源码 demo全
      

  3.   

    我不是很想用第3方组件啊,而且我也不会用这个等等看有无其他答案吧,http 302 会触发OnRedirect事件不知道是不是这里处理??怎么获取这个新的cookie呢
      

  4.   

    我都在线等一天了,好急呀,现在CSDN怎么都没人了