You can get all the cookies with the environment variable.
my $raw_cookies = $ENV{'HTTP_COOKIE'} || $ENV{'COOKIE'} || '';
Only if you happen to work with a CGI interface on the server side. On the client side, this will not work at all, and most other ways of interfacing with a webserver don't put cookies into the environment.
Alexander
In reply to Re^2: How to extract cookies from an existing browser session
by afoken
in thread How to extract cookies from an existing browser session
by punitpawar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |