views:

158

answers:

1

In the source code of the Perl module CGI.pm, in the submodule CGI::Cookies.pm, there is the following line:

$raw_cookie = $ENV{HTTP_COOKIE} || $ENV{COOKIE};

I'm interested in $ENV{COOKIE} here. Are there any web servers (obsolete or otherwise) which transmit cookie information using the COOKIE environment variable instead of the HTTP_COOKIE used by Apache? I've never seen COOKIE and other CGI libraries don't seem to support it.

A: 

I find Google Code Search to be a useful tool for this sort of question.

brian d foy
Well, nothing except searching for COOKIE in all open source code.
brian d foy