parapara has asked for the wisdom of the Perl Monks concerning the following question:

Hello everybody

I am trying to upgrade a server to Apache2/mod_perl2 with Mysql. However I have some problem understanding what modules I need to use instead of these

use Apache::Session; use Apache::Session::MySQL; use Apache::Cookie ();
I need to manage Cookies and creating a Login what are the best options available? Is it necessary to use Apache2::Cookie with libapreq or there are other possibilities?

On CPAN if I look for Apache2::Session I find only Apache2::AuthCookieDBI that seems useful. Has anybody used it with success and is it sufficient or do I need something else?

Thanks a lot, Dario

Replies are listed 'Best First'.
Re: Upgrading to Apache2/mod_perl2
by perrin (Chancellor) on Mar 01, 2006 at 17:57 UTC
    Apache::Session is unchanged. It has nothing to do with mod_perl or apache, despite the name. Apache::Cookie can be replaced by either the new libapreq2 (Apache2::Cookie) or CGI::Cookie, which works with both.