in reply to I'm about to Learn how to use CGI::Session

That's a good idea. I would recommend you put the code in a real module (see perlmod) instead of a .pl file.

If you're willing to refactor your code, you could also take a look at CGI::Application::Session, which combines CGI::Session and CGI::Application. It makes sessions even easier to use and provides hooks for authentication etc.

  • Comment on Re: I'm about to Learn how to use CGI::Session