perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: [mp2] $r->auth_name
Date Mon, 03 May 2004 22:12:37 GMT


Fred Moyer wrote:
> Greetings,
> 
> Is there an mp2 implementation of $r->auth_name?  I'm working with
> Apache::AuthCookie in a native mp2 environment and am getting an error
> message of:

I believe this module has been ported to mp2 already.  you might want to
check the archives so you don't end up doing more work than you need.

> 
> Can't locate class method 'Apache::RequestRec::auth_name' via package
> 'Apache::ReqestRec' at Apache/AuthCookie.pm line 18
> 
> I've found references to $r->auth_name and ap_auth_name in the source
> but have not come across it in the api docs.

you need to

  use Apache::Access ();

first.

HTH

--Geoff

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message