perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bart Simpson <batttmannn1...@yahoo.com>
Subject Apache::Session delete error
Date Thu, 18 Nov 2004 23:00:27 GMT
HI. I've been working on this for over a day now.
Truth is i don't really understand the nature of the
problem. Google give many old results for setgid
problems. If some wise perl programmer could help, i'd
be much obliged. 

I'm getting this error when I call
tied(%session)->delete.

-e:   Insecure dependency in unlink while running
setgid at
/usr/lib/perl5/site_perl/5.8.3/Apache/Session/Store/File.pm
line 106.

Here is relevant 106 area.
if (-e $directory.'/'.$session->{data}->{_session_id})
{
        unlink
($directory.'/'.$session->{data}->{_session_id}) ||
            die "Could not remove file: $!";
}

I saw this on perlmonks and untied my session before
processing the template but that didn't help.

[quote]
If you really want to use Apache::Session rather than
something simpler like MLDBM::Sync, I suggest you
treat it as a hot potato, i.e. create the hash, get
what you want in and out of it as fast as you can, and
get rid of it immediately. Don't leave it hanging
around while you do other stuff.
[/quote]

Thank you very much.


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


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