curl-users
Re: Cookies!!
Date: Tue, 25 Feb 2003 08:28:23 +1000
download all the stuff that the page you're looking at links too.
the cookies are put in by the banner ads and such like, you need to get them if you want the cookies associated with them.
Also follow any redirections issued by the webserver.
D.
>>> hampole_at_usc.edu 25/02/03 8:15:16 am >>>
Hi
I have noticed that many websites not only put in cookies from their own websites but also from another party as well. for example in expedia.com there are cookies loaded from expedia.com as well as msn.com. Curl I notice only saves the cookies recived from the latest website(in this case expedia.com) while my future requests need the cookies from msn.com. What is the solution to this problem. I am using the latest version on a linux machine and use the following format
curl -o "/airlines/expedia.html" -c ./expedia -A "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" -L "http://www.expedia.com/"
Any help on the subject is much appreciated.
Thanks
Rahul
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
**********************************************************************
This e-mail, including any attachments sent with it, is confidential
and for the sole use of the intended recipient(s). This confidentiality
is not waived or lost if you receive it and you are not the intended
recipient(s), or if it is transmitted/ received in error.
Any unauthorised use, alteration, disclosure, distribution or review
of this e-mail is prohibited. It may be subject to a statutory duty of
confidentiality if it relates to health service matters.
If you are not the intended recipient(s), or if you have received this
e-mail in error, you are asked to immediately notify the sender by
telephone or by return e-mail. You should also delete this e-mail
message and destroy any hard copies produced.
**********************************************************************
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-02-24