[Catalyst] Auth::CDBI enhancements

Andy Grundman andy at hybridized.org
Wed Apr 13 01:12:27 CEST 2005


Michael Reece wrote:
> One thing about putting user in req->{user} --
> 
> I found that, at least under mod_perl, the user object was being cached by
> CDBI because of this reference.
> 
> I had to put a call to clear_object_index in my !begin action..
> 
>     $self->comp('MyApp::M::CDBI')->clear_object_index();
> 
> There may be another way to avoid this problem, but I went with that and it
> did the trick ..

I absolutely hate that problem... in another app I recently wrote I had 
to disable the index completely because it was causing all kinds of 
issues.  No problems on any of your other CDBI objects though?

-Andy



More information about the Catalyst mailing list