curl-users
Re: Problem with Cookie Set and Read in Curl
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 20 Sep 2004 14:49:01 +0200 (CEST)
Date: Mon, 20 Sep 2004 14:49:01 +0200 (CEST)
On Mon, 20 Sep 2004, Ashok wrote:
> Using curl utility,I want to read and set cookies. For that I am using the
> following options :
>
> -D for set cookie
Don't. Use -c instead.
> In that page Redirctions are occured.In first Redirection session ID is
> setting properly,after the following two Redirections session is not setting
> properly.
-b does not deal with Location: or anything else, it assumes that all cookies
set in the headers are for the specific server you've specified in the URL.
Besides, you didn't show us what curl did so we didn't get to see or even
properly understand the effects of the problem.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-09-20