• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to handle multiple request

 
vishwa raj
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a doubt, There is a link to submit the request say now we want to avoid the duplicate request submitted means to say that the user clicks multiple times at a time but only one request should be inserted in to table how can i achive this.

one way is to disable the link, once the user clicks on the linkf for the first time but this is not allowed in the requirement rather the link should be active but even if multiple requestes are given by same user by clickig on the link at a time many times onely one requesy should be inserted in table.

Thanks
 
vishwa raj
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can any please throw some light on this

Thanks
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

There are many ways to avoid duplicate submission. You can do this by using hidden fields, disabling cache,etc.

The best approach is the Token synchronization. Please search details on net about it.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic