session-info
v0.0.5
Published
Express middleware session diagnostic that console.logs the current session info
Downloads
3
Maintainers
Readme
A middleware that console.logs the current session info
Express session diagnostic for Connect and Express
Compatibility
- Support Express
4.x
and5.0
- Support Node.js
0.10
,0.12
,4.x
,5.x
and all io.js versions
For use with express-session
Express 4.x
, 5.0
and Connect 3.x
:
Once added, you will get information regarding the session like:
sessionStore
sessionID
session
const session = require('express-session');
const info = require('session-info');
app.use(session());
app.use(info());
License
The MIT License