This is handled through the session middleware, for example:
.use(connect.session({ secret: 'keyboard cat', cookie: { maxAge: 60000 }}))
the documentation contains other useful bits that are worth reading for an understanding of session processing.
user1218070
source share