[Catalyst] kill a session
Thomas Hartman
tphyahoo at gmail.com
Mon Feb 20 11:46:57 CET 2006
Maybe when answering/discussing these types of questions, it should be
standard operating procedure to include the lines in the App.pm (or
wherever it is that this happens) that specifies which plugins gets
used. This type of confusion seems to happen fairly often. And it
would be great for people still getting their feet wet, for
understanding where the $c ($context) object gets its methods from.
This question - where $c (or some object returned by $c) got such and
so method - is currently what I am finding most intimidating about
following board discussions. Since catalyst is still taking shape,
documentation is shaky, and group discussions to a great extent are
taking the place of docu, I think this would really help.
Thomas.
2006/2/20, Yuval Kogman <nothingmuch at woobling.org>:
> On Sun, Feb 19, 2006 at 19:31:45 -0800, John Beppu wrote:
> > On 2/19/06, Yuval Kogman <nothingmuch at woobling.org> wrote:
> > > On Sat, Feb 18, 2006 at 00:43:14 -0800, John Beppu wrote:
> > > > On 2/17/06, Will Smith <willbelair at yahoo.com> wrote:
> > > > > How could I clear/delete the session. When I try
> > > > > $session->clear();
> > > > > it gives me error.
> > > >
> > > >
> > > > $c->session_clear();
> > >
> > > wtf?
> > >
> > > $c->delete_session
> >
> >
> > I have session_clear() in my own code, and it doesn't crash, but
> > that's probably because I'm using session handling code that's been
> > deprecated. I'm still using Catalyst::Plugin::Session::Flex and its
> > man page tells me there's a session_clear() method.
>
> Oh... I looked in Catalyst::Plugin::Session::FastMmap which everyone
> seems to be using and didn't find anything like that there so I
> thought it was custom code.
>
> I never met anyone who used Session::Flex before...
>
> Sorry
>
> --
> () Yuval Kogman <nothingmuch at woobling.org> 0xEBD27418 perl hacker &
> /\ kung foo master: /me has realultimatepower.net: neeyah!!!!!!!!!!!!
>
>
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
>
>
>
>
More information about the Catalyst
mailing list