Hello,
In a debian etch apache2.2+mod_perl2 environment I'm trying to use an
Apache::Session::Postgres backend for
MasonX::Request::WithApacheSession:
request_class => 'MasonX::Request::WithApacheSession',
session_cookie_domain => 'critikart.fr',
session_class => 'Apache::Session::Postgres',
session_data_source => 'dbi:Pg:dbname=gesci_sessions',
session_use_cookie => 1,
but I get this error message:
Some or all of the required parameters for your chosen session class
(Apache::Session::Postgres) were provided. The following parameters
were missing: handle\n
However the "dbi:Pg:dbname=gesci_sessions" backend works fine I try to
initialize it in the traditional DBI way further down in the handler.pl.
Also, using Apache::Session::File works fine:
session_class => 'Apache::Session::File',
session_directory => '/tmp/sessions/data',
session_lock_directory => '/tmp/sessions/locks',
What did I miss?
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