DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
access session data from ejs view
app.use(function(req, res, next) { res.locals.user = req.session.user; next(); });
Source by devarama.com #
PREVIOUS
NEXT
Tagged:
#access
#session
#data
#ejs
#view
ADD COMMENT
Topic
COMMENT
Name
1+9 =
Submit