Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 90399 invoked from network); 1 Sep 2009 14:13:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Sep 2009 14:13:35 -0000 Received: (qmail 93460 invoked by uid 500); 1 Sep 2009 14:13:33 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 93391 invoked by uid 500); 1 Sep 2009 14:13:32 -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 93381 invoked by uid 99); 1 Sep 2009 14:13:32 -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 14:13:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nilsga@gmail.com designates 209.85.218.211 as permitted sender) Received: from [209.85.218.211] (HELO mail-bw0-f211.google.com) (209.85.218.211) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 14:13:24 +0000 Received: by bwz7 with SMTP id 7so4277040bwz.11 for ; Tue, 01 Sep 2009 07:13:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=dej5sc1BPz7WI70q64yQO6HPDfTDZClGu3UQHhkiYI8=; b=fTH5/crieLW3B0T/BfP/iz/6NiMdp8VigNX7+q2tJhy8HnuJr6QfmAwTStzUAUr82v KMsM0y+oPJjGCEtt0dlLPYNzdYLZVngb4ELKuAEU1kKZI8FMH63puSqVN4TGYUvCDTLT unSV6J0VmQTAIGH0ILCtHR35DGyuHeTlXCiR4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=qO1DT3z8GqYzzV5IoifnvnRq1kDoqGfStzPD30z6nMXrDiHjWY8TSNYHYrsZ/FI9mC 2gkECoyGLPY/OP6y5RTyULyu5e+SfSNm1+in3TU9azKUtBiKmBUYqc27Kzyfdy6ees6G mIyYtLTHVhbPYa579v8X5FRKsm6cKCzpxNF20= MIME-Version: 1.0 Received: by 10.204.11.23 with SMTP id r23mr5579761bkr.158.1251814383334; Tue, 01 Sep 2009 07:13:03 -0700 (PDT) In-Reply-To: <1251812967.4050.9.camel@enjoyexplain-lm> References: <4A9D026A.708@yahoo.com> <7270d7cd0909010419y5f9ace2fn5a8d7fef4419a0b3@mail.gmail.com> <1251812967.4050.9.camel@enjoyexplain-lm> Date: Tue, 1 Sep 2009 16:13:03 +0200 Message-ID: <7270d7cd0909010713r2b6b30ccv7f5cfe78058cbd4d@mail.gmail.com> Subject: Re: Need to disable session interceptor From: Nils-Helge Garli Hegvik To: Struts Users Mailing List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org > I am trying to find out why is the session created when I did not create > the session in my code. > > -- > Rajeev > Well, I believe Struts 2 internally does request.getSession(false) to prevent creating sessions when there isn't one... Which interceptor stack are you using? You could also try adding <% @page session=false %> in your JSPs and see if that helps. Nils-H --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org