perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bart Simpson <>
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

-e:   Insecure dependency in unlink while running
setgid at
line 106.

Here is relevant 106 area.
if (-e $directory.'/'.$session->{data}->{_session_id})
($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.

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.

Thank you very much.

Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 

Report problems:
Mail list info:
List etiquette:

View raw message