curl-users
RE: Beaten by cahoot.com
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 16 Oct 2002 17:50:47 +0200 (MET DST)
Date: Wed, 16 Oct 2002 17:50:47 +0200 (MET DST)
On Wed, 16 Oct 2002, Richard Cooper wrote:
> Curl treats cookies with an expire time of "" as session cookies.
Yes, no expire date makes it a session cookie. But no expire date gets
translated to a 0 in the cookie files (as the expire date is stored as number
of seconds since jan 1 1970), and thus cookies that are read from a file with
expire date 0 are 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?
How is expire time "0" passed from the server?
-- 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.cfmReceived on 2002-10-16