logged-in
or logged-out
and session info.
A middleware that console.logs if user is
Express session diagnostic for Connect / Express with Passport.js
Compatibility
- Support Express
4.x
and5.0
- Support Node.js
0.10
,0.12
,4.x
,5.x
and all io.js versions - Support for Passport
express-session
and passport
For use with Express 4.x
, 5.0
and Connect 3.x
:
Once added, you will get information regarding the session like:
status: logged-in || logged-out
sessionStore
sessionID
session
const session = ;const passportInfo = ; app;app;
Note This is for Passport, for session diagnostic try session-info
License
The MIT License