On Sat, 15 Nov 2003, allan juul wrote: [...] > i have tried something like > > $robot->cookie_jar( { > autosave => 1, > file => 'cookie.lwp' > } > ); > > > then i have tried to print out the cookies i get before i kill the > robot process and after i re-start the robot and they are different. ? > eh, what am i doing wrong ?
How did you kill the process? If you kill -kill it in Unix, then Perl won't have a chance to run the code to save your cookies. If you shut down your program normally, do the cookies get persisted OK? John