Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 17918 invoked from network); 17 Oct 2005 14:37:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Oct 2005 14:37:27 -0000 Received: (qmail 51408 invoked by uid 500); 17 Oct 2005 14:37:27 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 51281 invoked by uid 500); 17 Oct 2005 14:37:26 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 51270 invoked by uid 99); 17 Oct 2005 14:37:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2005 07:37:26 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [142.132.30.225] (HELO theoryx5.uwinnipeg.ca) (142.132.30.225) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2005 07:37:26 -0700 Received: from theoryx5.uwinnipeg.ca (localhost.localdomain [127.0.0.1]) by theoryx5.uwinnipeg.ca (8.12.8/8.12.8) with ESMTP id j9HETmvo015823; Mon, 17 Oct 2005 09:29:48 -0500 Received: from localhost (randy@localhost) by theoryx5.uwinnipeg.ca (8.12.8/8.12.8/Submit) with ESMTP id j9HETmM5015819; Mon, 17 Oct 2005 09:29:48 -0500 Date: Mon, 17 Oct 2005 09:29:48 -0500 (CDT) From: Randy Kobes To: "Philip W. Dalrymple III" cc: apreq-dev@httpd.apache.org Subject: Re: Problem with cookies in mod_perl In-Reply-To: <1129556387.15923.11.camel@spock.mdtsoft.com> Message-ID: References: <1129556387.15923.11.camel@spock.mdtsoft.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Mon, 17 Oct 2005, Philip W. Dalrymple III wrote: > I am have a tough time getting cookies read from a request header. I am > using: > > FC4 (updated to best current) > httpd (apache) 2.0.54-10.2 (rpm from fedora) > apr 0.9.6-3.1 (rpm from fedora) > mod_perl 2.0.1-1.fc4 (again rpm from fedora) > Most current Apache2 and APR modules updated from CPAN. > > I can set the cookie without problems and see it in the browser as the > correct string (the cookie is a simple string with only hex digits and > one dash for example 35-4b3b65c6539f170cfd46168c5). when I use the code > > my $sess = 'Not Set'; > my $chash = APR::Request::Apache2->handle($r)->jar(); > if($chash->{"ipm_s_$db"}) { > $sess = $chash->{"ipm_s_$db"}; > } > to get the cookie from the session ($db is correct) I get, in the > error log > > /usr/sbin/httpd: symbol lookup > error: /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/APR/Request/Apache2/Apache2.so: undefined symbol: apreq_handle_apache2 > > > Can someone give me a pointer to what I am doing wrong here. Do you have a LoadModule apreq_module modules/mod_apreq2.so in your httpd.conf? Note that the "2" in mod_apreq2.so. -- best regards, randy kobes