Duplicate form submission can occur when you by refresh the page, press back button, or if there is a virus in your machine.

There are 2 ways to prevent duplicate requests:

  • Through isTokenValid() method
  • By managing clearing request object.
BY Best Interview Question ON 15 Jan 2019