On Thu, Jul 24, 2008 at 2:24 PM, Flavio Poletti <[EMAIL PROTECTED]> wrote: >> So how do I read the cookie back using CGI:Application? All the >> tutorials seem to assume the cookie is just there. Maybe I'm >> overlooking something. > > This is not actually related to CGI::Application, but to CGI.pm, whose > documentation is at http://search.cpan.org/dist/CGI.pm/ > > The short story is that you first get a reference to the CGI object like > this: > > my $cgi = $self->query(); # see "query" method in CGI::Application > > then retrieve the cookie like this: > > my $cookie = $cgi->cookie('cookie_name'); > > See CGI.pm documentation for more directions and hints.
Thank you very much. -- Stephen Carville ##### CGI::Application community mailing list ################ ## ## ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ## ## ## ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ## ## ################################################################
