Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 32347 invoked from network); 1 Sep 2009 11:16:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Sep 2009 11:16:27 -0000 Received: (qmail 51699 invoked by uid 500); 1 Sep 2009 11:16:24 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 51625 invoked by uid 500); 1 Sep 2009 11:16:24 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 51613 invoked by uid 99); 1 Sep 2009 11:16:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 11:16:24 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [76.13.13.40] (HELO smtp101.prem.mail.ac4.yahoo.com) (76.13.13.40) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 01 Sep 2009 11:16:16 +0000 Received: (qmail 94807 invoked from network); 1 Sep 2009 11:15:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=X1V64SJEJoSSeedx9D33AOlpW8PVGbC3oO1pVWyGAmvDpEj+w6Sa4XpEbkzevMFRoqBjOcz5cNwVlJ81knbt4nqxxNQfY1wMKSgsvwZaUn9cW+wQMOuaa19e0H75wiC//ONTtZ/2zjqnqLcozyP+i4QNdxvzq0AhuHjBR3/7Arg= ; Received: from c-98-235-247-104.hsd1.nj.comcast.net (newton.dave@98.235.247.104 with plain) by smtp101.prem.mail.ac4.yahoo.com with SMTP; 01 Sep 2009 04:15:54 -0700 PDT X-Yahoo-SMTP: viQwDh.swBAQoPAzQ_OSzULegiPpFTdw X-YMail-OSG: NNUbcHoVM1nnxQVN684aL_FZXgmsOSYokt1Kz_50L66MvCW6s.lm9GtCuKDuczeunzhIf.zjMnytdVs_P27A9OIF6Yx._i9IM43BUkMwtC6MGKsiYhmWqccfwJu_CBXCPu5rCakK1cSgqLN8ip2no7r.5.8gJiYkIGonvLIPQSDV8C2tAEpsQYq3kcK07CLY4vqrNdZ3ug4FFd1LeLFlUnHSJkYiRVg.HTma2jI9zgBZdTaY2MJNt0xKDifExN.Btf1HO2nMwze9zTfaxpmcmEHxN45c3yZcZL4FmF8WA9JMxvOKGRwhGFXsqbYq.tZp9UZheRI- X-Yahoo-Newman-Property: ymail-3 Message-ID: <4A9D026A.708@yahoo.com> Date: Tue, 01 Sep 2009 07:15:54 -0400 From: Dave Newton User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: Need to disable session interceptor References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Rajeev Sharma wrote: > I am new to struts2 (I mean struts). I am developing an application > which does not need to use sessions at all. When I tested my application > with jmeter, I got 18000 sessions created (tomcat showed me this). Looks > like for every individual request there is one session created. How can > I remove the session interceptor at all (and other components related to > sessions), so that there are no sessions created in my application. There isn't a session created for each request, there's a session per client conversation. Also, AFAIK, Struts 2 doesn't do anything in particular regarding session creation--that is handled by the container. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org