Gossamer Forum
Home : General : Perl Programming :

Re: [dougrobb] GT::CGI and reading cookies

Quote Reply
Re: [dougrobb] GT::CGI and reading cookies In reply to
Hi,

Thanks, we'll update the docs! The cookie() method behaves just like param() now. If called with no arguments it returns a list of valid cookies. So you would do:

foreach my $cookie ($IN->cookie) {
print "cookie $cookie has a value of ", $IN->cookie($cookie), "\n";
}

Cheers,

Alex
--
Gossamer Threads Inc.
Subject Author Views Date
Thread GT::CGI and reading cookies dougrobb 3968 Aug 7, 2002, 8:51 PM
Thread Re: [dougrobb] GT::CGI and reading cookies
Alex 3847 Aug 8, 2002, 1:44 PM
Post Re: [Alex] GT::CGI and reading cookies
dougrobb 3815 Aug 8, 2002, 7:52 PM