javascript - Distributed session storage in ExpressJS -
i'm working on distributed web app, , want use expressjs session store data, need distributed session storage. alternatively, build own session storage, don't know how it.
i'm using memcached (by mean of this module) in parts of project different web app, nice able use memcached session storage.
i want this:
app.use(express.session({secret: 'something', store: new memcachedstorage(...)}));
so storage should use?
i think this looking for:
app.use(express.session({ secret: 'catonthekeyboard', store: new memcachedstore }));
Comments
Post a Comment