Re: Apache::RequestRec::notes stays wrong usage

[prev] [thread] [next] [Date index for 2005/05/13]

From: Perrin Harkins
Subject: Re: Apache::RequestRec::notes stays wrong usage
Date: 14:46 on 13 May 2005
raja agireddy wrote:
> I have installed
> httpd-2.0.53 ---> Apache
> mod_perl-2.0.0-RC4 ---> modperl
> Authen-Smb-0.91
> Apache-AuthenSmb-0.72
> Apache-AuthenCache-1.00
> 
> I am getting the following error.
> [Thu May 12 17:12:36 2005] [error] [client 135.43.15.119] Usage:
> Apache::RequestRec::notes(obj, val=NULL) at
> /raj/perl/lib/site_perl/5.8.6/Apache/AuthenCache.pm line 302.\n

Apache::AuthenCache doesn't support mod_perl 2.  You can try using it 
with Apache2::compat:

http://perl.apache.org/docs/2.0/api/Apache2/compat.html

However, this will not make sessions time out.  All this module does is 
cache auth from other modules, and the timeout setting relates to the 
cache, not the session.

Making HTTP auth time out is not going to be easy.  There is no reliable 
way to invalidate auth credentials with all browsers.  However, if this 
is an antranet and you have control of what browsers are used, it may 
work.  Look at Apache::AuthExpire.

Alternatively, you could use cookies, with Apache::AuthCookie or 
Apache::SessionManager.

- Perrin

Apache::RequestRec::notes stays wrong usage
raja agireddy 14:32 on 13 May 2005

Re: Apache::RequestRec::notes stays wrong usage
Perrin Harkins 14:46 on 13 May 2005

Re: Apache::RequestRec::notes stays wrong usage
raja agireddy 14:45 on 16 May 2005

Re: Apache::RequestRec::notes stays wrong usage
Perrin Harkins 15:00 on 16 May 2005

Generated at 20:12 on 05 Jun 2005 by mariachi v0.52