TOD has asked for the wisdom of the Perl Monks concerning the following question:
quite unspectacular so far. the result is as predictable: the browser displays a blank page instead of the requested document.my $r = shift; [...] my $time = time; if ($session->{LAST_REQUEST} >= $time - 1) { $r->connection->keepalive(Apache2::Const::CONN_CLOSE); ModPerl::Util::exit(0); } else { $session->{LAST_REQUEST} = $time; } [...]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Apache2::Const::CONN_CLOSE & Apache 2.2
by shmem (Chancellor) on Jan 16, 2007 at 10:03 UTC | |
|
Re: Apache2::Const::CONN_CLOSE & Apache 2.2
by Corion (Patriarch) on Jan 16, 2007 at 09:35 UTC | |
|
Re: Apache2::Const::CONN_CLOSE & Apache 2.2
by spatterson (Pilgrim) on Jan 16, 2007 at 09:39 UTC | |
|
Re: Apache2::Const::CONN_CLOSE & Apache 2.2
by perrin (Chancellor) on Jan 16, 2007 at 15:18 UTC | |
|
Re: Apache2::Const::CONN_CLOSE & Apache 2.2
by Anonymous Monk on Jan 16, 2007 at 09:24 UTC | |
|
Re: Apache2::Const::CONN_CLOSE & Apache 2.2
by Anonymous Monk on Jan 17, 2007 at 08:06 UTC |