Best practice to avoid double request from View in ASP.NET
<p>I have the following controller: </p>

<pre><code>[HttpPost]
public ActionResult SomeMethod(string foo, obj bar)
{
  //Some Logic 
}
</code></pre>

<p>Now suppose that from the view that Action is called from a Button or from Ajax (with some edits), and I don't want to receive a double request. </p>

<p>What is the best approach to handle it from <strong>server side</strong>? </p>

<p><br /></p>

<h2>Update</h2>

<blockquote>
  <p>You'd first have to define the time interval that would meet the
  criteria of a double request – <strong>Jonesopolis</strong></p>
</blockquote>

<p>Let's suppose that in this case a double request are when the difference of time between first and 2nd call is less than 1s</p>