cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: SSL + Cookies

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Mon, 24 Mar 2008 09:42:07 -0500

On Mon, Mar 24, 2008 at 5:29 AM, insaini <insaini_at_rogers.com> wrote:

> Hi Ralph, I saw the it is creating CPC_TEST_COOKIE through javascript..
> but there are other cookies beyond CPC_TEST_COOKIE that are missing..
>
> Here is the list,
>
> Cookie: CPC_TEST_COOKIE=TEST;
>
> OBCurl=https%3A//sso-
> cal.canadapost-postescanada.ca/sso/login.jsp%3F%7Elanguage%3DEN%26SSO_REFERRER_URL%3Dhttps%3A//est-oee.canadapost-postescanada.ca/shipping/estShipping.jsp%26formId%3D110%26locale%3Den_CA%26SSO_EXT_SESSION_ID%3DRYKRHnNF9GmdnCtvhz7nRTbvcGvv0fG2yq5X06fsjGC2NJG3chvY%211695204232%211206324517539;
>
>
> JSESSIONID=JjXTHnNYyXVq8HnLjzTLLGhDZLx53gpGs65x8DTJyTmJJh54JSTN!1003121022;
>
>
> s_cc=true;
>
>
> s_sq=canadapostca-dev%3D%2526pid%253Dest%252520%25253A%252520ship%252520%25253A%252520canada%252520%25253A%252520step%2525201%2526pidt%253D1%2526oid%253Dhttps%25253A//est-
> oee.canadapost-postescanada.ca/expediterLogout_e.jsp%2526ot%253DA
>
> Why are these cookies not being retrieved when they are not generated by
> the page but passed.. ?
>
Where are the cookies being passed from?? If they were ever sent by the
server, you'd be seeing something like this in the headers:

     Set-Cookie: s_cc=true;

If they're not being sent like that, from the server, I think curl won't see
them and therefore won't save and re-send them.

Where do these other cookies appear?? After you login via Firefox?? When
you try to login via curl are you sending that CPC_TEST_COOKIE??

Ralph Mitchell

Ralph Mitchell
Received on 2008-03-24