On Date: Mon, 02 Oct 2006 21:18:24 -0400, "Dondi M. Stroma" <[EMAIL PROTECTED]>
wrote:
> The problem: occasionally, when a user logs in, they end up logging in to
> someone else's account! But it happens very, very infrequently, and I've
> been unable to even reproduce the problem myself. The ap
Erik Norgaard wrote:
> Erik Norgaard wrote:
>
>> I have successfully created a module that declares some configuration
>> parameters which should be available to the handler: dbDriver, dbHost,
>> dbName, dbUser and dbPassword. Or so I think, I followed this guide:
>>
>> http://perl.apache.org/do
On Thursday 28 September 2006 04:45, GZ Dark wrote:
> At first I'll say sorry that have no experience for writting the modperl
> handler.
> When I wrote a simple handler like:
>
> $ cat CorpFB/Feedback.pm
> The CorpFB/Feedback.pm is under the directory of '/home/apache1.3/cgi'
> which exist in th
I'm not sure if this is your problem, but we had a similar issue awhile back.
About a year-and-a-half ago, there was an incremental release of the squid
proxy server that had a major bug in it. I can't remember the details exactly,
but I believe it had something to do with the fact that squid w
Perrin Harkins wrote:
Is there a proxy server in front of your mod_perl? You have to be careful
to avoid caching of Set-Cookie headers in the proxy.
- Perrin
Nope...I wish that was the case because it would explain a lot.
Occasionally people use anonymous proxies to access our site, but t
Dondi M. Stroma wrote:
The problem: occasionally, when a user logs in, they end up logging in
to someone else's account!
[...]
Here's where it get's interesting. CGI.pm has an undocumented method
called cache() which, if called, outputs the "Pragma: no-cache" header.
I found it confusing, so
Hi,
Before I begin, I want to let you know that I've already poured over all
mod_perl/Apache/CGI/perl related docs, porting guides, mailing list
archives, etc. I've read and re-read about the traps and pitfalls of
mod_perl. I have "use strict" on, warnings on, and I've quadrouple checked
fo
Perrin Harkins wrote:
Philip M. Gollucci wrote:
What do expect/see on your Linux setup ?
No growth at all, if it's just hitting the same simple handler over and
over.
Does/Try t/lib/TestCommon/MemoryLeak.pm help ?
--
Philip M. Gollucci wrote:
What do expect/see on your Linux setup ?
No growth at all, if it's just hitting the same simple handler over and
over.
- Perrin
Perrin Harkins wrote:
On Sat, 2006-09-30 at 13:19 +0300, Assen Tchorbadjiev wrote:
(top output: SIZE/RES)
6276K 4652K # at startup
6312K 4676K # after first request
7624K 5992K # after 1000 requests
8984K 7356K # after 2000 requests
That's not what I would expect to see on my Linux setup,
On Oct 2, 2006, at 5:31 PM, Michael Peters wrote:
does apache::dbi ping a connection then reconnect if the ping fails?
If you call DBI->connect it does.
awesome. i never knew that.
Jonathan Vanasco wrote:
>
> On Oct 2, 2006, at 4:01 PM, Michael Peters wrote:
>
>> The main problem with this is that if you loose your db connection
>> somehow, you
>> wouldn't know until it bombed out on you unless you constantly check it
>> everytime before you use it.
>
> does apache::dbi
On Oct 2, 2006, at 4:01 PM, Michael Peters wrote:
The main problem with this is that if you loose your db connection
somehow, you
wouldn't know until it bombed out on you unless you constantly
check it
everytime before you use it.
does apache::dbi ping a connection then reconnect if the p
Jonathan Vanasco wrote:
> but storing pnotes is just
>
> handler 1
> $r->pnotes( 'database_connect'=> $database_connect );
>
> handler 2
> my $database_connect = $r->pnotes('database_connect');
The main problem with this is that if you loose your db connection somehow, you
wouldn'
On Oct 2, 2006, at 1:57 PM, Vladimir S. Tikhonjuk wrote:
my $database_connect = DBI->connect(
'dbi:Pg:dbname=$database;host=$host,
$user,
$password
) || die "Can't connect to database: ".$DBI::errstr;
As I understand, I may write a handler, which would have such
code,
and then
Hi all!
I have some simple scripts, on my web server. Each of them have to
do some tasks with database, so the first what I do in the handler is:
my $database_connect = DBI->connect(
'dbi:Pg:dbname=$database;host=$host,
$user,
$password
) || die "Can't connect to database: ".$DB
Yeah, obviously I was wrong assuming that it should not grow in case there are
only the core modules loaded.
If I put Devel::LeakTrace at the beginning of the Apache module, it gives
several warnings about leaks being found in Apache::Constants::Exports,
Exporter ?!, mod_perl and the Apache mo
On Sat, 2006-09-30 at 13:19 +0300, Assen Tchorbadjiev wrote:
> (top output: SIZE/RES)
> 6276K 4652K # at startup
> 6312K 4676K # after first request
> 7624K 5992K # after 1000 requests
> 8984K 7356K # after 2000 requests
That's not what I would expect to see on my Linux setup, but it's also
no
18 matches
Mail list logo