Re: Apache::RequestRec::notes stays wrong usage
[prev]
[thread]
[next]
[Date index for 2005/05/16]
Perrin,
I have installed Apache::Session manger but somehow it is not working.
I am not being prompted for password after the specified timeout. Is
there a way to debug this issue. I have added the following in the
httpd.conf file
************************
PerlSetVar SessionManagerTracking On
PerlSetVar SessionManagerExpire 90
PerlSetVar SessionManagerInactivity 90
**************************
FYI:
I have added the following code to the Smb.pm script. I did this to
stop the password request popups in case of multi frame web pages
******************************************
use Fcntl qw(:flock);
open S, "> /home/gaccr1/fdmg/web2/logs/AuthenSmb.lck" or
die "Can't open AuthenSmb.lck: $!\n";
flock S, LOCK_EX;
close S;
************************************
Any direction would be greatly appreciated.
Regards,
Raja
On 5/13/05, Perrin Harkins <perrin@xxxx.xxx> wrote:
> 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=3DNULL) at
> > /raj/perl/lib/site_perl/5.8.6/Apache/AuthenCache.pm line 302.\n
>=20
> Apache::AuthenCache doesn't support mod_perl 2. You can try using it
> with Apache2::compat:
>=20
> http://perl.apache.org/docs/2.0/api/Apache2/compat.html
>=20
> 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.
>=20
> 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.
>=20
> Alternatively, you could use cookies, with Apache::AuthCookie or
> Apache::SessionManager.
>=20
> - Perrin
>