in reply to CGI::Session and simple authentication

That's because you're not checking for anything in the session. Use $session->param like you would for the CGI object.

For example:

$session->param( -name => "can_access", -value => 1 ); #sometime later, likely in a different request... if($session->param("can_access")) { #show secret page } else { #not allowed to see secret page }
~Thomas~ 
"Excuse me for butting in, but I'm interrupt-driven..."

Replies are listed 'Best First'.
Re^2: CGI::Session and simple authentication
by Kyshtynbai (Sexton) on Jun 03, 2014 at 08:32 UTC
    Thank you a lot, now I get it!