Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 40143 invoked from network); 8 May 2008 14:47:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2008 14:47:03 -0000 Received: (qmail 94576 invoked by uid 500); 8 May 2008 14:46:53 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 94552 invoked by uid 500); 8 May 2008 14:46:53 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 94541 invoked by uid 99); 8 May 2008 14:46:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 07:46:53 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.61.61.105] (HELO usea-naimss3.unisys.com) (192.61.61.105) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 14:45:58 +0000 Received: from usea-nagw3.na.uis.unisys.com ([129.224.72.20]) by usea-naimss3 with InterScan Message Security Suite; Thu, 08 May 2008 09:51:11 -0500 Received: from usea-nagw3.na.uis.unisys.com ([129.224.72.55]) by usea-nagw3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 8 May 2008 09:46:18 -0500 Received: from USEA-EXCH2.na.uis.unisys.com ([129.224.72.37]) by usea-nagw3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 8 May 2008 09:46:17 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: retrieving two different objects from session (should be thesame) Date: Thu, 8 May 2008 09:46:09 -0500 Message-ID: <2828B04F0113CD468E6D1D51DF4362A406105061@USEA-EXCH2.na.uis.unisys.com> In-Reply-To: <48230F44.3050603@christopherschultz.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: retrieving two different objects from session (should be thesame) Thread-Index: AcixGNNwwKV/Mf5QRHStizBn703ncwAAMU1g References: <482303F9.2060206@abid76.de> <48230589.7090301@apache.org> <482309A0.50105@abid76.de> <2828B04F0113CD468E6D1D51DF4362A406104F45@USEA-EXCH2.na.uis.unisys.com> <48230F44.3050603@christopherschultz.net> From: "Caldarale, Charles R" To: "Tomcat Users List" X-OriginalArrivalTime: 08 May 2008 14:46:17.0896 (UTC) FILETIME=[45D5BA80:01C8B11A] X-Virus-Checked: Checked by ClamAV on apache.org > From: Christopher Schultz [mailto:chris@christopherschultz.net]=20 > Subject: Re: retrieving two different objects from session=20 > (should be thesame) >=20 > Silly question.... how do you do this? Synchronizing on the SessionFacade will suffice for this purpose - checking if an attribute exists and then storing it if not. The container insures that accesses to the underlying attribute set itself is synchronized (we had a long and somewhat heated discussion about the necessity of that a couple of years ago). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org