connect-hazelcast is a Hazelcast session store backed by Hazelcast 4.x.
npm install connect-hazelcast express-session
connect-hazelcast to create a
const session = ;const HazelcastStore = session;app;
The following list contains all supported options:
clientAn existing hazelcast client. Required option.
prefixIMap name to use for storing sessions. Defaults to
ttlDefault TTL in seconds to use when the session cookie does not have a
expiresvalue. Defaults to
disableTouchWhen set to
true, TTL is reset on each user interaction with the server. Defaults to