curl-users
Re: COOKIES EXPIRES AFTER CERTAIN TIME
Date: Tue, 03 Jul 2007 12:00:29 +0200
Daniel Stenberg wrote:
> On Mon, 2 Jul 2007, siddharth wrote:
>
>> Thanks for your quick reply. I mean to say that I am able to download
>> the files but after sometimes the cookies expires and I am using the
>> --trace-ascii option where it is showing 0% in all the columns means
>> the cookies get expire after a certain time and I need to relogin
>> because of which the --trace-ascii options show's me zero in all the
>> columns.
>
> Top-posting makes it very hard to follow this discussion. What were we
> talking about again?
>
> Cookies expire at the set time, I don't understand how that is a curl
> problem?
If I remember Siddarth's post correctly, he logs in using his browser
rather than curl, and the cookies he gets have a limited duration.
Perhaps, it is not easy to find an example on how to get cookies with
curl and then use them in the next connection, i.e. how to combine
options -b/--cookie <filename>, -c/--cookie-jar <filename>, and possibly
-L/--location.
Received on 2007-07-03