Re: Browser DNS balancing effects



On 23 Jun 2008 12:29:26 +0100 (BST), Theo Markettos wrote:
It could be that my curl requests are hitting a different server each time,
and there isn't any login-coherency between the two servers (so the cookie
sent by 1.2.3.4 isn't recognised if I send it to 5.6.7.8). It's not the
best written of sites, so this wouldn't surprise me.

Try 'curl -v' for debugging, it'll tell you the IP address curl is using
on each connection. Might be worth using host to lookup the IP address
and then use the IP instead in curl.

--
Stephen Patterson :: steve@xxxxxxxxxxxxxx :: http://patter.mine.nu/
GPG: B416F0DE :: Jabber: patter@xxxxxxxxxxxxxxx
"Don't be silly, Minnie. Who'd be walking round these cliffs with a gas oven?"
.



Relevant Pages

  • Re: Browser DNS balancing effects
    ... Theo Markettos wrote: ... and there isn't any login-coherency between the two servers (so the cookie ...
    (uk.comp.os.linux)
  • Re: Weird problem
    ... The change is that now, for some reason, each transaction with curl is ... Some of the applescripts that I used ... I tracked a possible cause of the problem to a dead DNS server that I ... where is one of the FTP servers you're having trouble with. ...
    (comp.sys.mac.system)
  • Re: Automatic login to a web page
    ... This is mentioned in my isp login page "Cookies must be enabled" ... And with third example [using Curl] ... sub body_callb { ... If it sets a cookie, Curl can handle that too, but it gets more ...
    (comp.lang.perl.misc)
  • Re: [PHP] Help with CURL please
    ... I'm trying to access this URL using CURL and grab ... Now the problem is that in order to access that site, a Cookie must be ... redirects you to http://enterprisedirectory.ucr.edu, sets the cookie ... http://enterprisedirectory.ucr.edu (thus leaving my script) and then ...
    (php.general)
  • Re: CURL and $_SESSION problem
    ... >> the US Federal Government, and you know how the government is! ... > See the headers it sends to its clients (and to index.php CURL calls). ... Once I get the cookie then I ... I can get my own PHPSESSID but I can't get the REMOTE ...
    (comp.lang.php)