cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: upload to browser

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 22 Feb 2005 13:39:38 +0100 (CET)

On Tue, 22 Feb 2005, Magnus Stålnacke wrote:

> Well anyway, now i have compared what curl vs mozilla saves in the cookie
> file, visiting the same adress.. it is not the same. Mozilla does not save
> the sessioncookie in the cookie file (the phpsessid, see below).

Right, browsers don't save session cookies since they are... eh, session
cookies and should not be around the next time you start your browser.

curl works differently, so if you close your browser and make the cookie
"pretend" to be a regular cookie with a regualr expire time, the browser
_should_ read it and it _should_ use it normally without knowing that it was
born as session cookie.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2005-02-22