Hello,
I tried using the session object from within the handler.pl file but
apparently it doesn't yet exist at this stage:
my $ah = new HTML::Mason::ApacheHandler(
......
request_class => 'MasonX::Request::WithApacheSession',
......
);
sub handler {
if (!exists($HTML::Mason::Commands::m->session->{browser})) {
... code ...
}
return $ah->handle_request($r);
}
However $m->session works fine from components.
How can I use the session hash before handle_request() ?
Thanks,
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users