Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 265 invoked from network); 11 Sep 2005 09:39:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Sep 2005 09:39:14 -0000 Received: (qmail 26185 invoked by uid 500); 11 Sep 2005 09:39:09 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 26173 invoked by uid 500); 11 Sep 2005 09:39:09 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 26160 invoked by uid 99); 11 Sep 2005 09:39:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2005 02:39:09 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of dev.sensei@gmail.com designates 64.233.184.203 as permitted sender) Received: from [64.233.184.203] (HELO wproxy.gmail.com) (64.233.184.203) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2005 02:39:19 -0700 Received: by wproxy.gmail.com with SMTP id 69so1417984wri for ; Sun, 11 Sep 2005 02:39:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:mime-version:content-type:x-mailer:thread-index:x-mimeole:message-id; b=dwlegZGAraczHkL0p79eorJHYG2GVpAPJrcLweKY4U9EG2QeVN7yZ9z/hKxd8PrLP1NUcfgocb0+RTsjd6fAfHTx2uwpM/Hy7xN/fqTTFy9gR+3r/HINVwI7pgUjw9/mEJ9vIWWfUzSHEajQ3JCk3oIkInX1MYtfYKtLJoV5SKU= Received: by 10.54.34.73 with SMTP id h73mr1722371wrh; Sun, 11 Sep 2005 02:39:06 -0700 (PDT) Received: from BlackDragonV ( [84.179.0.97]) by mx.gmail.com with ESMTP id g9sm426844wra.2005.09.11.02.39.04; Sun, 11 Sep 2005 02:39:05 -0700 (PDT) From: "Stefan Pietschmann" To: Subject: Session lifecycle listener in cocoon? Date: Sun, 11 Sep 2005 11:40:36 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01C5B6C5.A2073100" X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcW2tNzfggNAFdNxQDucjhP+fps5WQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-ID: <4323fb39.75370bf7.21a9.ffff9c3d@mx.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0004_01C5B6C5.A2073100 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi there, I want to write a class which does some sort of cleanup when a users's session ends (via logout or timeout). As I understand it I can write a class which implements HTTPSessionListener and add it in Tomcat's web.xml under and this should work. (Correct me if I'm wrong). This relies on the Servlet API and I have to change my Tomcat installation. However I liked it more if I could add that SessionListener to Cocoon's web.xml since our project CVS only contains Cocoon, not Tomcat. Is it that easy to just implement the HTTPSessionListener Interface and add this Listener to cocoon/WEB-INF/web.xml? Thanx, Stefan ------=_NextPart_000_0004_01C5B6C5.A2073100 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi there,

 

I want to write a class which does some sort of = cleanup when a users’s session ends (via logout or = timeout).

 

As I understand it I can write a class which = implements HTTPSessionListener and add it in Tomcat’s web.xml under <listeners> and this should work. (Correct me if I’m = wrong).

This relies on the Servlet API and I have to change = my Tomcat installation. However I liked it more if I could add that SessionListener to Cocoon’s web.xml since our project CVS only = contains Cocoon, not Tomcat. Is it that easy to just implement the = HTTPSessionListener Interface and add this Listener to = cocoon/WEB-INF/web.xml?

 

Thanx,

Stefan

------=_NextPart_000_0004_01C5B6C5.A2073100--