Top "Express-session" questions

Simple session middleware for Express

Get cookie with react

I need to know if my user is connected or not. For that I want to read the cookies that …

reactjs session cookies express-session react-cookie
When to use saveUninitialized and resave in express-session

I am newbie with the MEAN stack. I read the express-session github doc but there are some options which are …

node.js express mean-stack express-session
node express, how to clear cookie after log out

Basically i'm doing redirect from a.example.com to www.example.com and i expect to be able to delete …

javascript node.js cookies express express-session
Session auto logout after inactivity

Is there a built in feature in express session, to enable auto logout after given time of inactivity ? I am …

node.js express express-session
req.session in express-session not persisting

I have the following code: var express = require('express'); var cookieParser = require('cookie-parser'); var http = require('http') var app = express(); …

node.js express express-session
Error: Connection strategy not found MongoDB

here is a simple connection to use express session store, it keeps banging out this error even though the text …

mongodb express-session connect-mongo
How to use @types/express-session?

when I write this: import { Request } from 'express-serve-static-core'; router.post((req: Request, res, next) => { req.session.user = user; } tsc …

typescript typescript-typings typescript2.0 express-session
How to generate custom session id with express-session?

I am using Redis as session store and I would also like to create custom session id with express-session. So …

node.js session express-session
Why am I getting "Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute"?

In a Chrome warning it says "Specify SameSite=None and Secure if the cookie should be sent in cross-site requests. …

cookies express-session
React App with Express Backend & express-session

I currently have a React App (via create-react-app) and an Express server for my API calls. They are both running …

node.js reactjs express express-session