Skip to content

Instantly share code, notes, and snippets.

Created March 20, 2013 15:47
What would you like to do?
tornado cookie signature in node.js
Copy link

tupy commented May 21, 2015

Hey man,
I think the last line is: return new Buffer(parts[0], 'base64').toString('utf8');

Copy link

tupy commented Jul 6, 2015

max_age_days = max_age_days === null ? 31 : max_age_days;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment