Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Express.js

app.use(
 session({
   secret: "qEas5ns3gxl41G",
   cookie: { maxAge: 86400000, secure: true },
   resave: false,
   saveUninitialized: false,
   store
 })
);
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
8+5 =