On Sat, 21 Sep 2002 17:33:46 +0500 [EMAIL PROTECTED] wrote: > Hi All, > > I am trying to use > $ua->cookie_jar(HTTP::Cookies->new( file => "lwpcookies.txt", > autosave => 1)); > > but it is not saving the cookies information in lwpcookies.txt. > > I tried to save cookies as follows; > > open (FILE,">>MyCookie.txt") || die print "Can't open file for writing"; > print FILE $MyCookieContent . "\n"; > close FILE; > > where $MyCookieContent contains cookie for sure. > > What can be the problem?
Are the cookies supposed to be discarded (expired or session only). If they are, they won't get saved automatically. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age.
