Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 22407 invoked by uid 500); 8 Apr 2003 11:52:51 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 22379 invoked from network); 8 Apr 2003 11:52:51 -0000 Received: from zinc.btinternet.com (HELO zinc) (194.73.73.148) by daedalus.apache.org with SMTP; 8 Apr 2003 11:52:51 -0000 Received: from host217-35-21-72.in-addr.btopenworld.com ([217.35.21.72] helo=MartinWindowsPrimary) by zinc with smtp (Exim 3.22 #23) id 192rej-0003zX-00; Tue, 08 Apr 2003 12:52:49 +0100 Message-ID: <002b01c2fdc4$20765b00$0200a8c0@MartinWindowsPrimary> From: "Martin Moss" To: Cc: References: <3E92AF60.3020002@tuskerdirect.com> Date: Tue, 8 Apr 2003 12:43:51 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] Apache::Request question All, During one complete cycle of a Request, e.g. authen handler -> authz handler -> method handler should/does Apache give the same 'Apache' Object to my code. e.g. If I dump the Apache object at the start of each 'handler' should I expect to see the following identical line?:- $VAR1 = bless( do{\(my $o = 145577148)}, 'Apache' ); The reason I ask is, that I don't see this behaviour. The first two handlers (authen and authz) have the same one, but I get a new Apache Object for my method handler. This is causing me grief because it means that when I do an Apache::request->instance($r) I get a NEW Apache::Request object not the same INSTANCE I was getting for the first two phases, and indeed expecting to get for each phase of the request cycle (I editted the Apache::Request->instance subroutine to print a warning whenever it can't find the previous object in the pnotes, and it is definitely creating a new object). Also, The Apache::Request Object that is created based upon the new Apache Object doesn't go out of scope until I stop apache. Which doesnt' seem right. I am not calling the child_terminate anywhere and so I am confused as to whether this is standard behaviour or not. Can anybody throw me a light on this one? Marty --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org