cURL / Mailing Lists / curl-library / Single Mail

curl-library

Cookie Problem

From: preetic <preetic_at_mahiti.org>
Date: Mon, 16 Sep 2002 18:07:02 +0530

Hi all!
 
Am creating an application that has to perform multiple posts.Each time
such an operation is performed i save the cookies recieved in a file .Am
using a different handle for every post (by using a for loop with the
counter set to the total number of urls).I set the handle inside the
loop and then after the perform() do the cleanup(). Inside this loop the
application writes the cookies using the CookieJar into a text file.So
basically there is only 1 cookie file for all the URLs.
My problem is that after my application is run extra cookie files with
junk names get stored in the folder where the application is residing.
I dont know why this is happening..
Moreover if i clear the cookie file (the one where i want the cookies to
be stored) and start the application afresh,the application crashes
whereas curl should save the cookies in the cookie file for the first
url and then use the cookies from it for the rest of the urls.
  
Can anyone help me?
 
Cheers
 
Preeti Chitkara

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-09-16