Skip to content
Myr

Doc typo

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent bd18f86 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/guide.md+1 added-1 removed
489 unmodified lines
490491Now the _req.session_ and _req.sessionStore_ properties will be accessible to all routes and subsequent middleware. Properties on _req.session_ are automatically saved on a response, so for example if we wish to shopping cart data:492493 var RedisStore = require('connect-redis');494 app.use(express.bodyDecoder());495 app.use(express.cookieDecoder());496 app.use(express.session({ store: new RedisStore }));496 app.use(express.bodyDecoder());497498 app.post('/add-to-cart', function(req, res){499 // Perhaps we posted several items with a form500 // (use the bodyDecoder() middleware for this)
421 unmodified lines