Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 48474 invoked from network); 8 Nov 2000 18:59:55 -0000 Received: from mail5.realtime.net (HELO bga.com) (205.238.128.241) by locus.apache.org with SMTP; 8 Nov 2000 18:59:55 -0000 Received: from bga.com ([205.238.153.106]) by bga.com ; Wed, 08 Nov 2000 12:59:47 -0600 Message-ID: <3A09A2A4.710BB76C@bga.com> Date: Wed, 08 Nov 2000 12:59:48 -0600 From: William Brogden Organization: Barely organized X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: Session Close References: <019101c049a4$5be878c0$3225a8c0@mrree.gub.uy> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Pablo Trujillo wrote: > > I need to execute a procedure when a session closes. Is this possible? How > it is made? Make a class that is a HttpSessionBindingListener - attach an object of this class to the session. When the session is destroyed your object will get a call to the valueUnbound method. -- WBB - wbrogden@bga.com Author of Java Developer's Guide to Servlets and JSP ISBN 0-7821-2809-2