cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Re[2]: Sessions in CURL

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 12 Jun 2001 11:18:45 +0200 (MET DST)

On Tue, 12 Jun 2001, Vladimir wrote:

> I accessed two pages consecutively and I looked to the headers
> I have two diferent cookie strings
> Set-cookie: ASPSESSIONIDQGQGGQEU=PAOHINOCEGKHLDMEGHOEPIGO => first
> page (I logged in).
> Set-cookie: ASPSESSIONIDQGQGGQEU=BBOHINOCBAJIFHIJJHNKEFHD => second
> page. (I try to send form).

> It seems to me they must be the same, am I right?

You mean to received those cookies, right? So, did you pass that cookie back
when you requested the second page?

We can only guess what the cookie's contents should be. If they keep state
information in the cookie, it is quite possible that you get different
contents back after each call as you change state... After all, keeping local
state is what cookies are made for.

-- 
     Daniel Stenberg -- curl dude -- http://curl.haxx.se/
_______________________________________________
Curl-and-php mailing list
http://curl.haxx.se/
Received on 2001-06-12