FAQ
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/

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 6 | next ›
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedApr 20, '12 at 2:42a
activeApr 23, '12 at 10:41a
posts6
users3
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2021 Grokbase