How to use the lastModified function from express-session
Find comprehensive JavaScript express-session.lastModified code examples handpicked from public code repositorys.
GitHub: iondv/framework
72 73 74 75 76 77 78 79 80 81
if (typeof session.session === 'string') { session.session = JSON.parse(session.session); } const s = session.session; if (this.options.touchAfter > 0 && session.lastModified) { s.lastModified = session.lastModified; } this.emit('get', sid); return s; }
23
58
9
+ 5 other calls in file
express-session.MemoryStore is the most popular function in express-session (21 examples)