Skip to content

Instantly share code, notes, and snippets.

Brian Dixon bjdixon

Block or report user

Report or block bjdixon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
bjdixon / app.js
Created Aug 30, 2014 — forked from tj/app.js
cookie based sessions using express
View app.js
var express = require('express')
, cookieSessions = require('./cookie-sessions');
var app = express();
app.use(express.cookieParser('manny is cool'));
app.get('/', function(req, res){
req.session.count = req.session.count || 0;
You can’t perform that action at this time.