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

curl-and-php

Re: Re : Secured Cookies

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 13 Jun 2006 15:09:40 +0200 (CEST)

On Tue, 13 Jun 2006, Amaury Willemant wrote:

> first request that give me the cookies
> $adresse="https://www.accessaigvie.com/

...

> And the second request that does not work :
> $adresse="http://www.accessaigvie.com/

...

> That second request only send the JSESSIONID but not the other. I don't
> understand why.

The cookies that get a 'secure' keyword are marked to only get sent over a
'secure' connection (== https). As you can see, your first URL is https and
you get the cookie. The second is not https and thus the cookie is not sent.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-06-13