I have multiple forms and use AJAX to submit them. I asked my boss if he needed any specific format for the form ID and he told me to generate a unique hash and keep it in session; check it whenever the form comes back to make sure it's a valid form submission and not someone just hitting an endpoint.What does that mean and why is it useful? How does it help me security wise?I have read a couple of articles like The 3 things you should know about hashCode() but I'm still not sure...  
Why use a unique hashkey for form submissions?
algorithms;rest;ajax;validation;hashing