http://perl.apache.org/docs/2.0/user/porting/compat.html#C__connection_E_gt_user_

The mod_perl 2 porting docs talk about $r->user and $c->user in mod_perl
1, including the deprecation status of the latter.  However, the
mod_perl 1 docs do not even mention $r->user.  The attached patch
against 1.29 brings the docs up to date with the 2.0 porting doc wrt.
this.
--- Apache/Apache.pm~	2003-02-20 08:54:23.000000000 +0200
+++ Apache/Apache.pm	2005-05-15 20:04:19.000000000 +0300
@@ -467,6 +467,12 @@
 remote system is not running an RFC 1413 server or if the configuration
 directive B<IdentityCheck> is not turned on.
 
+=item $r-E<gt>user( [$user] )
+
+If an authentication check was successful, the authentication handler
+caches the user name here. Sets the user name to the optional first
+argument.
+
 =back
 
 More information about the client can be obtained from the
@@ -554,14 +560,12 @@
 
 =item $c-E<gt>user( [$user] )
 
-If an authentication check was successful, the authentication handler
-caches the user name here. Sets the user name to the optional first
-argument.
+Deprecated, use C<$r-E<gt>user> instead.
 
 =item $c-E<gt>auth_type
 
-Returns the authentication scheme that successfully authenticate
-C<$c-E<gt>user>, if any.
+Returns the authentication scheme used to successfully authenticate
+C<$r-E<gt>user>, if any.
 
 =item $c-E<gt>aborted
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to