jQuery.tokenize -- add a token input to all forms in an application
-
Add a way to generate a CSRF token when any page of your application is loaded and set that value to a cookie.
-
Ensure that jQuery is loaded in every page.
-
Together with #2 above, load this plugin, including it's initialization.