You just have to remove the token no matter what happens.

try {

  // store token

  // Do the processing and create output

} catch(SomeException ex) { // Optional

} finally {

  // remove token

}

> -----Original Message-----
> From: Antony [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 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 the user click abort before the page was transferred, thus leaving 
> him with old token. He can't ever submit the page again. Anyone have 
> think  of a solution for this can please share?
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to