If you develop using ASP.NET MVC you’ll probably know the AntiForgeryToken helper method, used as a protection mechanism for cross-site request forgery.
This mechanism consists of two pieces: a cookie (1) and a hidden field included on the form to be submitted (2).

Read more: Diego Marcet