• Post Reply Bookmark Topic Watch Topic
  • New Topic

Ignore multiple requests to the server

 
Efrat Bar-Nahum
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I don't know if this is the right forum for me, but I'll give it a shot...

I have a web application, written with JSF.
I want my web application to always behave according the principle: "Abort unfinished events, if there's a newer one in the queue".

For example - if the user pressed a link, and then pressed another link, before the first request was being handled, I want to delete the first event from the events queue, and handle only the new one.

(In a4j there is a tag ignoreDupResponses that is doing something similar, but I want to do it in jsf, in page or application context).

Any idea how to do it?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!