cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to make right response(302 Found)?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 28 Feb 2008 20:59:24 +0100 (CET)

On Thu, 28 Feb 2008, schawk wrote:

The Internet Explorer cookie line:

> Cookie: __utma=7915745.72454028.1202643842.1202643842.1202711065.2;
> __utmb=7915745;
> __utmz=7915745.1202643842.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none);
> __utmc=7915745;
> __utma=7915745.72454028.1202643842.1202643842.1202711065.2;
> __utmb=182283895.1;
> __utmz=182283895.1202711161.1.2.utmcsr=members.roodo.com|utmccn=(referral)|utmcmd=referral|utmcct=%2Flogin%2Fblog;
> __utmc=182283895.1; ROODOSESSION=00a784f77c361a24484130ac440b5e80;
> bkey=TlRBNE5UWTNMR0Z6YVdGbVpXbDVhVzVuTEdabGJtZHphR1Z1ZEhWcFFIaDFhWFJsTG01bGRBPT0%3D;
> key=ZmVuZ3NoZW50dWlAeHVpdGUubmV0LDM1MTEyMSwg;
> u1=NTA4NTY3LGFzaWFmZWl5aW5nLGFzaWFmZWl5aW5nLCAsICwgLCA%3D; u2=IA%3D%3D;
> PHPSESSID=00a784f77c361a24484130ac440b5e80;

The curl cookie line:

> Cookie: PHPSESSID=62d48c1663d15f9735ab349e15906ceb; u2=IA%3D%3D;
> u1=NTA4NTY3LGFzaWFmZWl5aW5nLGFzaWFmZWl5aW5nLCAsICwgLCA%3D;
> key=ZmVuZ3NoZW50dWlAeHVpdGUubmV0LDM1MTEyMSwg;
> bkey=TlRBNE5UWTNMR0Z6YVdGbVpXbDVhVzVuTEdabGJtZHphR1Z1ZEhWcFFIaDFhWFJsTG01bGRBPT0%3D;
> ROODOSESSION=62d48c1663d15f9735ab349e15906ceb

Clearly the latter is missing some cookies present in the first. Could indeed
be a reason for the server to react differently.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-02-28