in reply to Re: How to extract cookies from an existing browser session
in thread How to extract cookies from an existing browser session
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to extract cookies from an existing browser session
by $h4X4_|=73}{ (Monk) on Jun 12, 2016 at 10:07 UTC | |
by Your Mother (Archbishop) on Jun 12, 2016 at 16:48 UTC | |
by Anonymous Monk on Jun 12, 2016 at 19:00 UTC | |
by Your Mother (Archbishop) on Jun 12, 2016 at 21:09 UTC | |
by tultalk (Monk) on Mar 11, 2017 at 04:57 UTC |