In my app.js
, I have:
var express = require('express');
var cookieSession = require('cookie-session');
var app = express();
app.use(cookieSession({
name: 'session',
keys: ['******']
});
From another module, that is in another .js file, how do I get to read the session variables (which are encrypted by cookie-session
?
via Old Geezer
No comments:
Post a Comment