[Catalyst] Using a session in catalyst

Amol Ghanekar amol.ghanekar at gmail.com
Mon Jan 23 22:51:14 CET 2006


I did this:
use Catalyst qw/-Debug Static Session::FastMmap /;
followed by
MyApp->config->{session} = {
                expires => 3600,
                rewrite => 0,
                storage => '/tmp/session'
};


On 1/23/06, Balaji Srinivasan <balajione at gmail.com> wrote:
>
> Hi Everyone
> I installed Catalyst::Plugin::Session, Catalyst::Plugin::Session::FastMap
> Based on the instructions for Catalyst::Plugin::Session, i tried using
> $c->session in my method. It gives me the following error:
> Can't locate object method "session" via package "MyApp"
> Any idea why this is?
> Thanks
> Balaji
>
> _______________________________________________
> 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/20060123/75b1ca31/attachment.htm


More information about the Catalyst mailing list