Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 81102 invoked from network); 12 Dec 2007 00:41:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2007 00:41:27 -0000 Received: (qmail 82798 invoked by uid 500); 12 Dec 2007 00:41:11 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 82780 invoked by uid 500); 12 Dec 2007 00:41:11 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 82769 invoked by uid 99); 12 Dec 2007 00:41:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2007 16:41:11 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dbgsystems2@gmail.com designates 209.85.132.246 as permitted sender) Received: from [209.85.132.246] (HELO an-out-0708.google.com) (209.85.132.246) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Dec 2007 00:40:50 +0000 Received: by an-out-0708.google.com with SMTP id c28so8616ana.57 for ; Tue, 11 Dec 2007 16:40:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=azQUAM3yXqo3uBQaLso0//MGOEwINs0rv2YywqdLUKE=; b=A6YKp1/VuostH2uzkPGcStFTTA0wy+xTbhbdUZ7c1wH5td4OS+JpJMKTKm+NmbJYCgoGd6+sWQj1yiiWZ2+GwV72FY/VXdAM/cXYF/F6bfJDOEgg6UnbKiURp4n4tbKGZsMykU0q1JyNfAOUeRT+7uid6RO9VRgMUnBWF9yRFVw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=VnViaISLw/Oso/1HHs/BhGxWaUQ/cw0AEeqm22u38PapzWA2M8rfNsMJLOgPWKyqMnkBYESeWG9Wvm3/F8DWa/wHPM+16sK6XIiUsDPf7H1Fgyo9ekqhhHa/ujTnSojvzPjSJqUCl1MKuEs7Q6/jhDceWejcY/T3Ns5et7D2bc4= Received: by 10.100.190.15 with SMTP id n15mr145579anf.0.1197420046868; Tue, 11 Dec 2007 16:40:46 -0800 (PST) Received: by 10.100.177.5 with HTTP; Tue, 11 Dec 2007 16:40:46 -0800 (PST) Message-ID: Date: Wed, 12 Dec 2007 11:40:46 +1100 From: "Darragh Gammell" To: mason-users@lists.sourceforge.net, modperl@perl.apache.org Subject: $m->session MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3487_11940086.1197420046859" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3487_11940086.1197420046859 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Does anyone know what $m->session pertains to. ie. Is it part of a mod_perl or mason package. I am attempting to run this command on a site using mod_perl2, Apache2 and Mason 1.37 but keep getting an error: Can't locate object method "session" via package "HTML::Mason::Request::ApacheHandler" at /home/mc2/public_html/autohandler line 404. *404:* if ($m->session->{textonly} eq "on") { Its from code used on a website Im trying to relocate to a new server. Any indications would be helpful. Thanks Darragh ------=_Part_3487_11940086.1197420046859 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Does anyone know what $m->session pertains to. ie. Is it part of a mod_perl or mason package.

I am attempting to run this command on a site using mod_perl2, Apache2 and Mason 1.37 but keep getting an error:

Can't locate object method "session" via package "HTML::Mason::Request::ApacheHandler" at /home/mc2/public_html/autohandler line 404.

404:  if ($m->session->{textonly} eq "on") {

Its from code used on a website Im trying to relocate to a new server.

Any indications would be helpful.

Thanks

Darragh

------=_Part_3487_11940086.1197420046859--