cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: how to get redirect cookie with curl

From: Guirong Wang <guirong2004_at_yahoo.com>
Date: Wed, 6 Jun 2007 09:56:48 -0700 (PDT)

Thank you very much Dan and Daniel for your quick reply.
   
>It's likely that the cookie is being set somewhere using JavaScript. That's
>about the only option when there are redirects between sites, since cookies
>arn't be passed between domains otherwise.
   
  Does this mean there is no way to get redirect?
   
>That's a very very old version and we have quite literally fixed hundreds of
>bugs since.
   
   Is this the possible reason for not allowing me to use -c? I'll upgrade to the newest version.
   
  Thanks again.
   
   
   
  
 
   
  

curl-users-request_at_cool.haxx.se wrote:
  Send curl-users mailing list submissions to
curl-users_at_cool.haxx.se

To subscribe or unsubscribe via the World Wide Web, visit
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
or, via email, send a message with subject or body 'help' to
curl-users-request_at_cool.haxx.se

You can reach the person managing the list at
curl-users-owner_at_cool.haxx.se

When replying, please edit your Subject line so it is more specific
than "Re: Contents of curl-users digest..."

Today's Topics:

1. Re: how to get redirect cookie with curl (Dan Fandrich)
2. Re: how to get redirect cookie with curl (Daniel Stenberg)

----------------------------------------------------------------------

Message: 1
Date: Tue, 5 Jun 2007 17:45:56 -0700
From: Dan Fandrich
Subject: Re: how to get redirect cookie with curl
To: curl-users_at_cool.haxx.se
Message-ID: <20070606004556.GA11751_at_coneharvesters.com>
Content-Type: text/plain; charset=us-ascii

On Tue, Jun 05, 2007 at 04:56:36PM -0700, Guirong Wang wrote:
> I am working on a web site for uploading files with curl. When I log in from
> the web browser, there is a APC_REDIR value in
> the LiveHTTPHeaders as shown in the following:

It's likely that the cookie is being set somewhere using JavaScript. That's
about the only option when there are redirects between sites, since cookies
arn't be passed between domains otherwise.

>>> Dan

-- 
http://www.MoveAnnouncer.com The web change of address service
Let webmasters know that your web site has moved
------------------------------
Message: 2
Date: Wed, 6 Jun 2007 09:42:27 +0200 (CEST)
From: Daniel Stenberg 
Subject: Re: how to get redirect cookie with curl
To: the curl tool 
Message-ID: 
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Tue, 5 Jun 2007, Guirong Wang wrote:
> (I am using curl 7.12.1 on Linux.)
That's a very very old version and we have quite literally fixed hundreds of 
bugs since.
-- 
Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
------------------------------
_______________________________________________
curl-users mailing list
curl-users_at_cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
End of curl-users Digest, Vol 22, Issue 7
*****************************************
       
---------------------------------
Choose the right car based on your needs.  Check out Yahoo! Autos new Car Finder tool.
Received on 2007-06-06