On 6/29/06, Enrico Giurin <[EMAIL PROTECTED]> wrote:
Yes maybe yours is the best solution, but I have still the problem that I
don't understand the different behaviuor.


:-)
the grid for knowledge! the driving force behind each good developer!

use tcpdump to examine requests from both clients and determine the differences
leon

Thanks,
Enrico.
----- Original Message -----
From: "Leon Rosenberg" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, June 29, 2006 7:17 PM
Subject: Re: filter increase number of session


> On 6/29/06, Enrico Giurin <[EMAIL PROTECTED]> wrote:
>> Yes I have that,
>> I know that in this way if I hadn't a session tomcat makes new one, but
>> If I
>> had one I keep the old session.
>>
>> So why for every request I have a new session on the server, and why only
>> with IVR client and not using Jmeter like client?
>
> because JMeter can handle session cookies? :-)
> replace getSession with getSession(false) (and check for null) to
> prevent tomat from creating new sessions.
> regards
> Leon
>
>>
>> Thanks,
>> Enrico.
>> ----- Original Message -----
>> From: "Leon Rosenberg" <[EMAIL PROTECTED]>
>> To: "Tomcat Users List" <users@tomcat.apache.org>
>> Sent: Thursday, June 29, 2006 4:05 PM
>> Subject: Re: filter increase number of session
>>
>>
>> > do you have something like
>> > HttpSession session = ((HttpServletRequest)req).getSession() in your
>> > filter code?
>> >
>> > leon
>> >
>> >
>> > On 6/29/06, Enrico Giurin <[EMAIL PROTECTED]> wrote:
>> >> Hi at all,
>> >> I have problem using filter in my web application under tomcat (tomcat
>> >> 4.1
>> >> on Windows 2k OS).
>> >> Client of the web application is an IVR (Interactive Voice Response)
>> >> in
>> >> the
>> >> context of voice-xml application.
>> >> I have configured a filter in order to log all the request (included
>> >> all
>> >> the
>> >> parameters) to my web application and I realize that tomcat makes a
>> >> new
>> >> session for every request to a URI of my web application.
>> >> So, especially if I set a high value for session timeout, when I have
>> >> a
>> >> discrete number of call in the same time, the number of active session
>> >> increases vastly.
>> >> If I disable the filter that problem doesn't occur anymore and I have
>> >> a
>> >> single session for every phone call.
>> >>
>> >> I am sure that it's not a problem of the filter cause if I simulate
>> >> the
>> >> load
>> >> web test with jmeter I haven't this problem, that is, I have a single
>> >> session for every sequence of http request.
>> >>
>> >> I think that the problem is how the client (IVR) of my web application
>> >> keeps
>> >> the session (cookies or url rewriting), but this behaviour is quite
>> >> strange,
>> >> why I have this problem only if I use IVR and filter togheter?
>> >>
>> >> Any suggestion?
>> >>
>> >> Thanks,
>> >> Enrico.
>> >>
>> >> Chiacchiera con i tuoi amici in tempo reale!
>> >>  http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
>> >>
>> >> ---------------------------------------------------------------------
>> >> To start a new topic, e-mail: users@tomcat.apache.org
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To start a new topic, e-mail: users@tomcat.apache.org
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>> > --
>> > No virus found in this incoming message.
>> > Checked by AVG Free Edition.
>> > Version: 7.1.394 / Virus Database: 268.9.6/378 - Release Date:
>> > 28/06/2006
>> >
>> >
>>
>> Chiacchiera con i tuoi amici in tempo reale!
>>  http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.9.6/378 - Release Date: 28/06/2006
>
>

Chiacchiera con i tuoi amici in tempo reale!
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to