Re: new in CGI::Session::Driver::postgredsql nonexisting



On Jun 28, 8:38 pm, goodgautam <gautam.chek...@xxxxxxxxx> wrote:

In your code the first param being passed to CGI::Session's
constructor reads : "driver:postgredsql;id:md5" ..
Is that a typo in the code too ( s~postgredsql~postgresql~; ) ? I
think it should be like driver:postgresql ...http://search.cpan.org/dist/CGI-Session/lib/CGI/Session/Driver/postgr...

Wow, that's it!
Thanks!


But now it gives me another error:

[Thu Jun 28 20:52:39 2007] login: (in cleanup) Can't connect to
data source '' because I can't work out what driver to use (it doesn't
seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is
not set) at /usr/share/perl5/CGI/Session/Driver/DBI.pm line 26
[Thu Jun 28 20:52:39 2007] login: (in cleanup) Can't call method
"commit" on unblessed reference at /usr/share/perl5/CGI/Session/Driver/
DBI.pm line 130 during global destruction.

.