On Nov 30, 2005, at 12:30 AM, Perrin Harkins wrote:
It certainly can be a scoping issue, but it could also be a locking
issue. Without seeing a test case that causes it, it's pretty hard to
guess.
I'd suggest running data dumper and storing each iteration of a
'session' variable to a differ
Hi,
I have just uploaded Apache::DBI::Cache to cpan. The module aims at the same
problems as Apache::DBI but works different.
While Apache::DBI caches connections at connect time this module caches them
only at disconnect or DESTROY.
Apache::DBI does not distinguish between currently used and
On Wed, 2005-11-30 at 07:33 -0500, [EMAIL PROTECTED] wrote:
> I do believe setting the LongReadLen will fix your problem
That only applies to Oracle, and they are using MySQL.
When LongReadLen is the problem, you don't just lose some data from a
session -- the entire session for that user becomes
Hi Torsten,
A few comments on the new module:
> While Apache::DBI caches connections at connect time this module caches them
> only at disconnect or DESTROY.
Why? I don't understand the value in doing this.
> Apache::DBI does not distinguish between currently used and free connections.
> Hen
Perrin Harkins writes:
> On Wed, 2005-11-30 at 15:23 +1000, Badai Aqrandista wrote:
> > I am using MySQL 4.1 on debian sarge. The type of the field that hold the
> > session data is 'longtext'.
>
> That holds a very large amount of data. You can't be overflowing that.
>
> > Patrick Michaud poin
> Patrick Michaud pointed me off the list that i
> should also bump max_packet_size up.
Probably, but that will not make you lose data.
But I guess in MySQL it does. Can anyone confirm this?
> Yes, that's why I am using Storable hooks to only serialize as small
> information as possible.
S
On Thu, 2005-12-01 at 09:20 +1000, Badai Aqrandista wrote:
> > > Patrick Michaud pointed me off the list that i
> > > should also bump max_packet_size up.
> >
> >Probably, but that will not make you lose data.
>
> But I guess in MySQL it does. Can anyone confirm this?
I would expect the insert to
modperlers,
Firstly apxs does not apply on Windows, right?
Having trouble with a build of recent mod_perl2/Apache2+. nmake test fails and
says
+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--
Dear All,
I have problems of require() function, here is my
simple program :
test.pl
---
#!/usr/bin/perl
require "test01.pl";
test01.pl
---
#!/usr/bin/perl
print "content-type:text/html\n\n";
print "";
print "this is line one ";
print "";
1;
At console mode
Simon Wong wrote:
> - Actually I need to type the absolute path in the
require() function, i.e.
require("/var/www/html/test01.pl""). What should I do
if I need relative path ?
All paths are going to relative from the 'cwd' ehich is not the
directory your script was initially run in.
See ModP
Simon,
Your required file may not already be loaded the first time.
Meaning that the file: test.pl will not be loaded until actually
required. But once you use the file, it will be part of the ongoing
process.
Jay Scherrer
On Thu, 2005-12-01 at 12:16 +0800, Simon Wong wrote:
> Dear All,
>
> I ha
[EMAIL PROTECTED] wrote:
Perrin Harkins writes:
On Wed, 2005-11-30 at 15:23 +1000, Badai Aqrandista wrote:
I am using MySQL 4.1 on debian sarge. The type of the field that hold the
session data is 'longtext'.
That holds a very large amount of data. You can't be overflowing that.
Patrick Mich
Goehring, Chuck wrote:
modperlers,
Firstly apxs does not apply on Windows, right?
see http://www.apache.org/dist/perl/win32-bin/apxs_win32.tar.gz
The config files for my application are very detailed. So detailed in fact that they
contain everything necessary to generate a virtual host from the preloader script. The
question is, can I do that? Is it possible to add virtual hosts on the fly during
preload and, if so, how do I do it? Can an
Hi,
there are many examples how this is working, here is a snippet found in
a mail sent to the list by Andreas Krüger:
httpd.conf:
--8<--
use DBI;
# Declare and initialize variables
my $host = 'localhost';
my $db = 'domains';
my $db_user = 'apache
You rock. Thanks much.
On Thu, 01 Dec 2005 08:38:17 +0100
Tom Schindl <[EMAIL PROTECTED]> wrote:
Hi,
there are many examples how this is working, here is a snippet found in
a mail sent to the list by Andreas Krüger:
httpd.conf:
--8<--
use DBI;
16 matches
Mail list logo