Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 86113 invoked from network); 5 Jun 2007 13:22:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jun 2007 13:22:01 -0000 Received: (qmail 75896 invoked by uid 500); 5 Jun 2007 13:22:05 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 75620 invoked by uid 500); 5 Jun 2007 13:22:04 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 75611 invoked by uid 99); 5 Jun 2007 13:22:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jun 2007 06:22:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of pallewela@gmail.com designates 66.249.92.175 as permitted sender) Received: from [66.249.92.175] (HELO ug-out-1314.google.com) (66.249.92.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jun 2007 06:22:00 -0700 Received: by ug-out-1314.google.com with SMTP id o4so175594uge for ; Tue, 05 Jun 2007 06:21:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KuA2/hEmJ1GHObKSz6IHW682dyQ8t73N0ZLYynDkWzIAh9ykeJbK62bVtE2nK6E6a/I19qytSBT6Mz51XzPUXQfrppBiJfPxi+xT4qDy0bVbddMFbN6QqB0ocxp1In2YGHWTD4oWw+9zGpke1nIzHkVjBxYNuyI3Gx/p+cG4xxw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Xh4jHGwg9jqZ4uaPRqt2jLnGlyWqELs+UbtCm73VdWO1zIxTtg5O/3ycDxMhp4qTxQlOXVQTPDWEDkAIDu4tmaGHO760YZ5UB89/rfv8HLxFQcQLlYrm6dXTypm9l6qvbgrXydMqYuCNMYclX48YqXavdEZER0rviw3HghYf3Zw= Received: by 10.78.140.17 with SMTP id n17mr2446185hud.1181049698725; Tue, 05 Jun 2007 06:21:38 -0700 (PDT) Received: by 10.78.148.10 with HTTP; Tue, 5 Jun 2007 06:21:38 -0700 (PDT) Message-ID: <953017480706050621n4f93701dj72a025e43c759746@mail.gmail.com> Date: Tue, 5 Jun 2007 18:51:38 +0530 From: "Dumindu Pallewela" To: modules-dev@httpd.apache.org Subject: Re: Sharing an object between successive requests. In-Reply-To: <40DC819C-B241-4641-AC2D-015465E3DAE1@sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46648E9F.3090004@wso2.com> <40DC819C-B241-4641-AC2D-015465E3DAE1@sun.com> X-Virus-Checked: Checked by ClamAV on apache.org On 6/5/07, Tim Bray wrote: > > > > So my question is how can I share an object between successive > > requests? > > Well, that is persistent storage. Common tools for this include the > filesystem, mmap'ed storage, and databases. Remember that apache > could suddenly go away between any two requests. -Tim Thanks Tim. It would be great if you can provide me with pointers to some examples to such usages in apache modules. Additionally, I want to give the user the choice whether to use a persistent storage or not. That's why I was looking for a shared memory alternative too. Dumindu.