Hailin> Finally I solved the problem like this
# somewhere in module like after_login() in Admin.pm
if ( $ENV{ MOD_PERL } ) {
my $r = $c->req->env->{'psgi.input'};
$r->user( $c->user->uid );
}
Hailin> Since the stuff is engine relevant, maybe it is better to be
Hailin> implemented in Plack::Handler::Apache2 :)
No, as I've said before, it's better implemented in a middleware.
--
Eden Cardim Need help with your Catalyst or DBIx::Class project?
Code Monkey http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://edencardim.com http://www.shadowcat.co.uk/servers/
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/