If you drop the later request you would drop the one the browser is waiting 
for. 

Scenario:
1. User clicks link -> Request A -> User browser waits for Response A
2. User quickly clicks same link again -> Request B -> User browser only waits 
for Response B
3. You dismiss Request B (Same as A)
4. User waits forever / sees duplicated request page.

This is always the problem when having a request / response system like Client 
vs. Server. 

If you try to avoid double form clicks use JavaScript to disable the form 
button once it is clicked and add form ids to it just to cross out a send form 
as being processed and recieved. If a form was alread send you just do nothing 
but wait for the initial request to finish and just render the answer again.

Maybe this is what you really want to do.


Cheers,

Martin


-----Ursprüngliche Nachricht-----
Von: spot_ [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 3. März 2008 08:43
An: users@tapestry.apache.org
Betreff: Only one user request at the same time


Hello

how can I make shure, that only one request of a user is processed at the same 
time. In other words: I want to dismiss a request of a user, if a request of 
the same user is already running at the moment.

How can this be realized? Do you foresee any dangerous side effects by 
implementing this feature?

Thanks in advance.

Regards
Christoph

--
View this message in context: 
http://www.nabble.com/Only-one-user-request-at-the-same-time-tp15799040p15799040.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


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

Reply via email to