Archived Forum Post

Index of archived forum posts


CkHttp::GuickGetStr problem

Aug 10 '12 at 11:51

Hi Matt, I'm making a call to CkHttp::QuickGetStr, however after several calls it occasionally returns false. The url is correct. LastStatus is 200, and lastResponseHeader is...

X-Access-Level: read-write
X-RateLimit-Limit: 350
X-RateLimit-Remaining: 272
X-RateLimit-Reset: 1344576885
X-RateLimit-Class: api_identified
Content-Type: application/xml; charset="utf-8"
Last-Modified: Fri, 10 Aug 2012 05:08:48 GMT
Expires: Tue, 31 Mar 1981 05:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0
Set-Cookie: guest_id="v1:134457532802231284";
     Expires="Sun, 10-Aug-2014 05:08:48 GMT"; Path="/";
Set-Cookie: lang=en
Status: 200 OK
X-Transaction: 44e376d8aeb0d3c9
X-Frame-Options: SAMEORIGIN
Date: Fri, 10 Aug 2012 05:08:48 GMT
Content-Encoding: gzip
Content-Length: 58222
Server: tfe
The LastErrorText returns...
    DllDate: Apr 18 2012
    UnlockPrefix: XXXXXXHttp
    Username: XXXX:XXX
    Architecture: Little Endian; 32-bit
    Language: Visual C++ 10.0
Any way to tell what the problem is? Thanks Bob


*** When posting to this forum, use "<pre>" and "</pre>" tags for error logs and other listings to prevent them from being coalesced onto a single line.

The LastErrorText you posted was from the call to LastResponseHeader. You'll need to get the contents of the LastErrorText property immediately after the call to QuickGetStr, but prior to any other method calls on the same object instance. (Thus the meaning of the word "Last" in LastErrorText -- it shows information from the last method called, and the 1st line beneath "ChilkatLog" shows the name of the method.)