From ac3feec9f918258847229e9449a78527644ef7c6 Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Sat, 26 Nov 2005 16:33:39 +0000 Subject: [PATCH] made this merely retrieve the cookies to be consistent with others. --- lib/WebGUI/HTTP.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/WebGUI/HTTP.pm b/lib/WebGUI/HTTP.pm index 45736b64c..14f63ee6e 100644 --- a/lib/WebGUI/HTTP.pm +++ b/lib/WebGUI/HTTP.pm @@ -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(); }