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

I am working on apache 2.2.15 + mod_perl2 for setting up a website. Using Apache::Session::Postgres and MasonX::Request::WithApacheSession.

request_class => "MasonX::Request::WithApacheSession" session_cookie_domain => "l*****", session_directory => '/tmp/sessions/data', session_lock_directory => '/tmp/sessions/locks', session_use_cookie => 1, args_method=>"mod_perl", session_cookie_name => "****", session_cookie_expires => "+4d", error_mode => "fatal", session_use_cookie=>1, session_class => "Apache::Session::Postgres", session_user_name => "***", session_cookie_resend => "true", session_password => "*****", session_data_source => "dbi:Pg:dbname=***;host=loc +alhost"

My Error_log shows the following error: Some or all of the required parameters for your chosen session class (Apache::Session::Postgres) were provided. The following parameters were missing: handle\n

Replies are listed 'Best First'.
Re: Error using mod_perl2 (Apache::Session::Postgres)
by InfiniteSilence (Curate) on May 10, 2013 at 17:51 UTC

    Is that the actual error message you found in the log or did you just forget to add it?

    Some or all of the required parameters for your chosen session class +(Apache::Session::Postgres) were provided. The following parameters w +ere missing: handle\n

    Celebrate Intellectual Diversity

      Yes.
        This the error from error_log file : Some or all of the required parameters for your chosen session class (Apache::Session::Postgres) were provided. The following parameters were missing: handle\n