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
In reply to Re: CGI::Session not setting cookie
by kcott
in thread CGI::Session not setting cookie
by Upland
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |