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
From the JMeter FAQ: How do I ensure each http request for jsp is
within one jsessionid ?
http://wiki.apache.org/jakarta-jmeter/JMeterFAQ#head-114aca8407cf0eaff55b7ae5955eda46b1e2cecb
Nils-H
On Tue, Sep 1, 2009 at 1:15 PM, Dave Newtonnewton.d...@yahoo.com wrote:
Rajeev Sharma wrote:
I am new
seulement et n'aura pas n'importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
Date: Tue, 1 Sep 2009 13:19:22 +0200
Subject: Re: Need to disable session
seulement et n'aura pas
n'importe quel effet légalement obligatoire. Étant donné que les email
peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
aucune responsabilité pour le contenu fourni.
Date: Tue, 1 Sep 2009 13:19:22 +0200
Subject: Re: Need to disable session
:19:22 +0200
Subject: Re: Need to disable session interceptor
From: nil...@gmail.com
To: user@struts.apache.org
From the JMeter FAQ: How do I ensure each http request for jsp is
within one jsessionid ?
http://wiki.apache.org/jakarta-jmeter/JMeterFAQ#head
Sep 2009 15:40:42 +0200
Subject: [OT] Re: Need to disable session interceptor
From: nil...@gmail.com
To: user@struts.apache.org
Hm... I don't know... Maybe read the documentation?
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Cookie_Manager
Sorry for pinging
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
Mailing List user@struts.apache.org
Sent: Tue, Sep 1, 2009 9:49 am
Subject: RE: Need to disable session interceptor
I googled this and the struts2 performance tuning page says this Struts
2 does not create sessions unless asked to (for example, by having the
createSession interceptor in your
at the top of your JSPs?
Chris
-Original Message-
From: Rajeev Sharma rajeev1...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Tue, Sep 1, 2009 9:49 am
Subject: RE: Need to disable session interceptor
I googled this and the struts2
@struts.apache.org
Sent: Tue, Sep 1, 2009 9:49 am
Subject: RE: Need to disable session interceptor
I googled this and the struts2 performance tuning page says this Struts
2 does not create sessions unless asked to (for example, by having the
createSession interceptor in your interceptor stack). Note
10 matches
Mail list logo