[Catalyst] Catalyst update issues

Chisel Wright chisel at herlpacker.co.uk
Tue Apr 4 18:15:58 CEST 2006


On Tue, Apr 04, 2006 at 05:02:18PM +0100, Matt S Trout wrote:
> Oooh, are you trying to store DBIC objects in the session?

Yep, it's always worked before, basically:

  if ($c->user and not defined $c->session->{authed_user}) {
   $results = $c->model(...)->table(...)->search(...);
   $c->session->{authed_user} = $results->first()
  }

Is this bad now then? Or was it always bad and I just got away with it
before?
-- 
Chisel Wright
e: chisel at herlpacker.co.uk
w: http://www.herlpacker.co.uk/

This is not an automated signature. I type this in to the bottom of every
message. 



More information about the Catalyst mailing list