cookie-session Questions

2

I am using cookie-session and passportjs to authenticate users in my express app. When I initialize my cookieSession like this: app.use(cookieSession({ maxAge: 24 * 60 * 60 * 1000, keys: ['key1']...
Jeffersonjeffery asked 21/6, 2021 at 19:16

2

I am studying back-end programming, specifically with Node.js and ExpressJS and currently it baffles me how does the "keys" prop of cookie-session library help us? What is the point of it? Have bee...
Lombroso asked 25/12, 2017 at 12:43

2

My understanding of passport.js so far is that passport.js serializes the user object and sends an ID every time to the client. I am just starting with it so sorry if it's a silly question: Instead...

1

I followed a course and it implemented user authentication using passport, passport-google-oauth20, cookie-session and it all works fine (login, logout, session handling) but when i send a request ...
Phina asked 24/11, 2017 at 0:49

2

Solved

I am trying to make a choice between storing user specific data in my MVC application either as identity claims or as session data to reduce the number and frequency of database round trips on requ...

2

I would like to have a "Stay signed in" option such as the one provided by Gmail. This way, the user can decide if they want to keep the session open upon opening a new browser session after previ...
Frimaire asked 7/1, 2016 at 13:18
1

© 2022 - 2024 — McMap. All rights reserved.