index.js
function generate() {
      store.generate(req);
      originalId = req.sessionID;
      originalHash = hash(req.session);
      wrapmethods(req.session);
    }
function generate() {
      store.generate(req);
      originalId = req.sessionID;
      originalHash = hash(req.session);
      wrapmethods(req.session);
    }
function generate ( ) { store . generate ( req ) ; originalId = req . sessionID ; originalHash = hash ( req . session ) ; wrapmethods ( req . session ) ; }
generate the session
generate the session