cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Beaten by cahoot.com

From: Richard Cooper <Richard.Cooper_at_aprsmartlogik.com>
Date: Wed, 16 Oct 2002 16:21:26 +0100

Curl treats cookies with an expire time of "" as session cookies. The
sessionid cookie sent back from cahoot has an expire time of "0" and so gets
sent regardless of the -j setting.

I can't find what an expire time of "0" signifies anywhere. Anybody know?

Cheers,

Rich

> From: Daniel Stenberg [mailto:daniel_at_haxx.se]
>
> On Tue, 15 Oct 2002, Richard Cooper wrote:
>
> > > -j/--junk-session-cookies Ignore session cookies read
> from file (H)
> > >
> > > Or doesn't that do what you want?
> >
> > -j doesn't do anything here. Both cookies still get sent to
> the server. How
> > can I tell if a cookie a session cookie rather just a cookie called
> > sessionid?
>
> Session cookies are cookies without an expire time, and they
> are meant to be deleted when the browser exists.
>
> [snip]
>
> Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.

-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
Received on 2002-10-16