We define the provider for our UUID, set a secret [64 characters for me], and setup the session storage.

Please remember that the storage is by default in the memory of the node app. In my planned infrastructure I want to use a single Redis server with one or more application servers behind a load balancers. This way I do not have to worry about sticky sessions or any jazz.

Simple. Done.

Written by Glenn Eggleton on Wednesday February 24, 2016 Permalink -
Chapter:
Node.JS