What i want to know is how to get the value of the session id present in the cookie.txt file. Is there any specific function or do i have to open the file and read it and then substitute the values.Also when i add the header field, there is a field called cookie. What exactly do i substitute in that field.my $bot = WWW::Mechanize->new(); $bot->agent_alias( 'Linux Mozilla' ); # Create a cookie jar for the login credentials $bot->cookie_jar( HTTP::Cookies->new( file + => "cookies.txt", autosave => 1, ignore_discard => 1, + ) );
In reply to Getting the value of cookies in cookies.txt file. by ItsyBitsy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |