added some logging in for sessions

This commit is contained in:
Henry Oswald 2014-09-08 17:45:37 +01:00
parent 187e87a978
commit ca402a3061

View file

@ -61,6 +61,9 @@ app.configure () ->
secure: Settings.secureCookie
store: sessionStore
key: cookieKey
app.use (req, res, next)->
console.log req.session, req.url, "session log"
next()
# Measure expiry from last request, not last login
app.use (req, res, next) ->