You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Perrin Harkins <pe...@elem.com> on 2003/02/28 15:03:43 UTC
Re: [error] Insecure dependency in unlink while running with -T
switch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line
106
On Fri, 2003-02-28 at 08:47, Martin Moss wrote:
> Is Apache::Session::DB_type Faster than Apache::Session::File?
It depends on your disk, OS, and filesystem. It stores all the files in
one directory, which is quite slow on some systems and not a problem on
others.
> I already use a lot of DB connections and I used Apache::Session::File to
> reduce this,
Apache::Session::MySQL (or Oracle, etc.) do not require separate
database connections. If you already have a connection (which you would
if you use Apache::DBI), you just pass it to Apache::Session.
- Perrin
Re: [error] Insecure dependency in unlink while running with-Tswitch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pmline106
Posted by Martin Moss <Ma...@btinternet.com>.
Thanks mate,
Will re-examine the drawing board......
Marty
----- Original Message -----
From: "Perrin Harkins" <pe...@elem.com>
To: "Martin Moss" <ma...@btinternet.com>
Cc: "Cees Hek" <ce...@sitesuite.com.au>; <mo...@perl.apache.org>
Sent: Friday, February 28, 2003 2:52 PM
Subject: Re: [error] Insecure dependency in unlink while running
with-Tswitch at
/usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pmline106
> On Fri, 2003-02-28 at 09:10, Martin Moss wrote:
> > I can't use Apache::DBI.
> > I have multiple database connections.which are authenticated for
different
> > users.
>
> You're pretty much screwed then on the database front.
>
> > I just wanted to
> > reduce the database lookups.
>
> If you just want to cache data, don't use Apache::Session for that. Use
> IPC::MM, Cache::Mmap, Cache::FileCache, or MLDBM::Sync.
>
> - Perrin
>
>
Re: [error] Insecure dependency in unlink while running with
-Tswitch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm
line106
Posted by Perrin Harkins <pe...@elem.com>.
On Fri, 2003-02-28 at 09:10, Martin Moss wrote:
> I can't use Apache::DBI.
> I have multiple database connections.which are authenticated for different
> users.
You're pretty much screwed then on the database front.
> I just wanted to
> reduce the database lookups.
If you just want to cache data, don't use Apache::Session for that. Use
IPC::MM, Cache::Mmap, Cache::FileCache, or MLDBM::Sync.
- Perrin
Re: [error] Insecure dependency in unlink while running with -Tswitch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line106
Posted by Martin Moss <Ma...@btinternet.com>.
heheheh,
I can't use Apache::DBI.
I have multiple database connections.which are authenticated for different
users. Am wondering whether to bother with the persistance at all, I can
retrieve all the data I need out of the database anyway, I just wanted to
reduce the database lookups. Especially as I could be operating on 100's of
records.
I was using Apache::Session to generate session IDs and allow me to timeout
users etc...
Marty
----- Original Message -----
From: "Perrin Harkins" <pe...@elem.com>
To: "Martin Moss" <ma...@btinternet.com>
Cc: "Cees Hek" <ce...@sitesuite.com.au>; <mo...@perl.apache.org>
Sent: Friday, February 28, 2003 2:03 PM
Subject: Re: [error] Insecure dependency in unlink while running
with -Tswitch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm
line106
> On Fri, 2003-02-28 at 08:47, Martin Moss wrote:
> > Is Apache::Session::DB_type Faster than Apache::Session::File?
>
> It depends on your disk, OS, and filesystem. It stores all the files in
> one directory, which is quite slow on some systems and not a problem on
> others.
>
> > I already use a lot of DB connections and I used Apache::Session::File
to
> > reduce this,
>
> Apache::Session::MySQL (or Oracle, etc.) do not require separate
> database connections. If you already have a connection (which you would
> if you use Apache::DBI), you just pass it to Apache::Session.
>
> - Perrin
>
>