if someone can share any
> solution.
>
> TIA
> Antony.
>
> > -----Original Message-
> > From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]
> > Sent: 22 April 2004 13:49
> > To: Tomcat Users List
> > Subject: RE: How to limit concurrent requests by sa
glish composition is not my subject.. :(
I've not found any solution to this, so please if someone can share any
solution.
TIA
Antony.
> -Original Message-
> From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]
> Sent: 22 April 2004 13:49
> To: Tomcat Users List
> Subject: RE: Ho
ay, April 22, 2004 8:38 AM
> To: 'Tomcat Users List'
> Subject: RE: How to limit concurrent requests by same user
>
>
> I tried this approach once, I got stuck on this scenario:
> user submit a form, jsp/servlet processes and remove the token from list.
> But
>
> When this has come up in the past, consensus seems to have
> been the setting of a unique token within the page when
> generated such that each time a user requests a "submittable"
> page, that page will contain a hidden attribute with that
> token. Implement a filter that only allows pro
Andreas Schildbach wrote:
>I wonder if it would be possible to write a filter that would
implement this functionality transparently to the JSP pages/servlets.
The solution I explained was coded in a filter.
Justin Ruthenbeck wrote:
>The problem with the solutions mentioned in this thread is that
You'll find quite a bit of info about this in the archives. When this
has come up in the past, consensus seems to have been the setting of a
unique token within the page when generated such that each time a user
requests a "submittable" page, that page will contain a hidden attribute
with that
> I wonder if it would be possible to write a filter that would implement
> this functionality transparently to the JSP pages/servlets.
It could be done semi-transparently with a conditional
custom tag embracing all of an individual page's content.
That tag could check for concurrent request an
Graham Lea wrote:
We do pretty much what you said, except with a little tweak.
If multiple requests come in for the same session, all but the first
request wait (literally: Object.wait()) until the first one has finished.
We also keep a track of which was the last thread to come in the door.
When
We just did this for our application.
We do pretty much what you said, except with a little tweak.
If multiple requests come in for the same session, all but the first
request wait (literally: Object.wait()) until the first one has finished.
We also keep a track of which was the last thread to co