RE: How to prevent multiple threads per session

2005-02-18 Thread Guernsey, Byron \(GE Consumer Industrial\)
the request uri/url then that could be avoided- I'll look up the code and see how it handles the problem. Thanks, Byron -Original Message- From: sven morales [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 12:08 AM To: Tomcat Users List Subject: Re: How to prevent multiple

How to prevent multiple threads per session

2005-02-14 Thread Guernsey, Byron \(GE Consumer Industrial\)
I have a bit of a problem where deep in a servlet there is some synchronized code that is synchronized on an object in session. On a rare occasion, that code runs very slowly when a long report is running or a database slows. This causes the users of the application to keep clicking stop and

Re: How to prevent multiple threads per session

2005-02-14 Thread sven morales
Hi, Filters. There was a filter code developed by Ivelin Ivanov and Kevin Chipalkowsky that maybe be applicable to your needs. It is called RequestControlFilter. If a user makes two request, A and B then A will be processed first while B waits. When A finishes, B will be processed. If