newbie. I\'m using ExpressJS/Node. Here\'s my config stuff:
var express = require(\'express\'), app = express.createServer(), jade=require(\'jade\'); // Configu
Add the token to dynamic helpers.
app.dynamicHelpers({ token: function(req, res) { return req.session._csrf; } });
Reference it in your jade template.
input(type='hidden', value=token)
Source: http://senchalabs.github.com/connect/middleware-csrf.html