Skip to content

Instantly share code, notes, and snippets.

@deedubs
Created October 2, 2012 14:17
Show Gist options
  • Save deedubs/3819486 to your computer and use it in GitHub Desktop.
Save deedubs/3819486 to your computer and use it in GitHub Desktop.
quick hack
var sessionCookie = cookie.parse(handshakeData.headers.cookie)
, parsedCookie = connect.utils.parseJSONCookies(connect.utils.parseSignedCookies(sessionCookie, config.sessionSecret))['connect.sess'];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment