made this merely retrieve the cookies to be consistent with others.

This commit is contained in:
Matthew Wilson 2005-11-26 16:33:39 +00:00
parent 97bcf1bc16
commit ac3feec9f9

View file

@ -57,13 +57,12 @@ These subroutines are available from this package:
=head2 getCookies ( )
Retrieves the cookies from the HTTP header, persists them to the session, and returns a hash reference containing them.
Retrieves the cookies from the HTTP header and returns a hash reference containing them.
=cut
sub getCookies {
$WebGUI::Session::session{cookie} = APR::Request::Apache2->handle($session{req})->jar();
return $WebGUI::Session::session{cookie};
return APR::Request::Apache2->handle($session{req})->jar();
}