in reply to CGI::Session not setting cookie
G'day Upland,
Welcome to the monastery.
From your problem description and the code you posted, it looks like you're missing "use Exporter;" before "our @ISA = qw(Exporter);" in "MyPM.pm".
I would expect that an error message like "Undefined subroutine &main::getSession called at login.pl line 13." is being generated and sent to your error log. While you can check through the logs, many find use of CGI::Carp an easier option.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI::Session not setting cookie
by Upland (Initiate) on Mar 11, 2013 at 12:11 UTC |