[Catalyst] how to set all values in Session Session::Store::DBI Session::State::Cookie

chveerendra nadh chchveeru at gmail.com
Mon Feb 13 19:19:09 CET 2006


how to write method to store i databsae  here not specified.............

On 2/13/06, Andy Grundman <andy at hybridized.org> wrote:
>
> chveerendra nadh wrote:
> > hi     i have bit probles ..............
> >
> > when i m using Session Session::Store::DBI Session::State::Cookie
> >
> > i have write in my APPlication
> >
> > Shop->config->{session} = {
> >         dbi_dsn   => $DB_NAME,
> >         dbi_user  => $DB_USER,
> >         dbi_pass  => $DB_PASSWD,
> >         dbi_table => "Shop::Model::Session",
> >     };
> >
> >
> > but it show error like this ........................
> >
> >
> > [Mon Feb 13 22:07:15 2006] [error] Session::Store::DBI: No session
> > configuration found, please configure dbi_dbh or dbi_dsn at
> > /usr/local/lib/perl5/5.8.7/NEXT.pm line 75\nCompilation failed in
> > require at (eval 69) line 3.\n
>
> Are you calling the above config line before you call Shop->setup() ?
>
> Add this line right before your setup call to check the config, and look
> for
> your session data there:
>
> warn Data::Dumper::Dumper( Shop->config );
>
> Also, dbi_table should be the actual table name, not a class name.
>
> -Andy
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060213/ddceb0e5/attachment.htm


More information about the Catalyst mailing list