[Catalyst] Using a session in catalyst

Balaji Srinivasan balajione at gmail.com
Mon Jan 23 22:57:44 CET 2006


I tried this
use Catalyst::Plugin::Session;
use Catalyst::Plugin::Session::Store::FastMmap;
use Catalyst::Plugin::Session::State::Cookie;

Can't locate object method "session" via package "MyApp"

Do I need to set a session ID myself? When does a session get created?
Thanks
Balaji

Still it gives me the error

On 1/23/06, John Lifsey - Contractor - <john.lifsey at nrl.navy.mil> wrote:
>
> Would be a better idea to use the newer Session modules.
>
> C::P::Session
> C::P::Session::State::Cookie
> C::P::Session::Store::Fastmap
>
>
>
>
> Balaji Srinivasan 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/289a6410/attachment.htm


More information about the Catalyst mailing list