cookies using Delphi 2010 and Indy -
cookies using Delphi 2010 and Indy -
i'm new dealing cookies , not sure if code or maybe indy version problem based on researching other posts.
using delphi 2010 , indy 10.5.5.
have set cookiemanager @ design time. can send initial login request (using post method) server successful (get "success" code server app) , cookie manager shows has accepted cookie server.
when seek reply server (again using post) next set of information, error code server app indicates authorization failure , i'm beingness told server tech back upwards people check cookie beingness sent reply.
how can check contents of cookie header beingness sent server? also, in post saw indy 10 idcookiemanager.pas , idcookie.pas have been updated in 2011. should update indy latest version might problem?
thanks in advance.
here more info:
thank previous assistance; appear getting closer reinstalling indy10.
i purged scheme of indy stuff except recent version (10.5.8) downloaded yesterday. [actually moved old stuff directory unusual name.]
now clean compile on 5 packages.
i able add together 2 main packages (the ones starting dcl) program's project list.
but "[dcc fatal error] e2202 required bundle indycore not found." when seek compile main program.
i tried removing , reinstalling dcl packages project. when removed them, got message indycore , 3 other packages removed - seems know dclindycode140 uses indycore140.
i've added directories search path , tried placing 5 bpl's in different directories. none of had effect , @ point stumped.
ideas? suggestions?
steve
upgrading latest release definate recommended. links on indy`s website. yes, cookie back upwards broken in before indy 10 releases working 1 time again now.
as other question, see tidhttp
sending, have few choices:
look @ tidhttp.request.rawheaders
property after sending request.
attach 1 of indy's tidlog...
components tidhttp
, such tidlogfile
, , @ output.
use external packet sniffer, such wireshark.
delphi delphi-2010 session-cookies indy
Comments
Post a Comment