Answers for "experss cookie session"

0

experss cookie session

var cookieSession = require('cookie-session')
var express = require('express')

var app = express()

app.use(cookieSession({
  name: 'session',
  keys: [/* secret keys */],

  // Cookie Options
  maxAge: 24 * 60 * 60 * 1000 // 24 hours
}))
Posted by: Guest on October-02-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language