Skip to content
Myr

Regenerated docs

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 7da2743 · Browse files · 4 files+3 added−3 removed
This commit

State

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

Diff stats

4 files+3 added−3 removed

  • other:+3 added−3 removed

4 files+3 added−3 removed

modified:docs/api.htmlbinary

A binary file, modified.

modified:docs/executable.1+1 added-1 removed
1.\" generated with Ronn/v0.7.32.\" http://github.com/rtomayko/ronn/tree/0.7.33.4.TH "EXECUTABLE" "" "July 2010" "" ""4.TH "EXECUTABLE" "" "October 2010" "" ""5.6.SH "NAME"7\fBexecutable\fR8.
20 unmodified lines
modified:docs/guide.1+1 added-1 removed
909 unmodified lines
910.911.nf912913var RedisStore = require(\'connect\-redis\');914app\.use(express\.bodyDecoder());915app\.use(express\.cookieDecoder());916app\.use(express\.session({ store: new RedisStore }));916app\.use(express\.bodyDecoder());917918app\.post(\'/add\-to\-cart\', function(req, res){919 // Perhaps we posted several items with a form920 // (use the bodyDecoder() middleware for this)
739 unmodified lines
modified:docs/guide.html+1 added-1 removed
786 unmodified lines
787788<p>Now the <em>req.session</em> and <em>req.sessionStore</em> properties will be accessible to all routes and subsequent middleware. Properties on <em>req.session</em> are automatically saved on a response, so for example if we wish to shopping cart data:</p>789790<pre><code>var RedisStore = require('connect-redis');791app.use(express.bodyDecoder());792app.use(express.cookieDecoder());793app.use(express.session({ store: new RedisStore }));793app.use(express.bodyDecoder());794795app.post('/add-to-cart', function(req, res){796 // Perhaps we posted several items with a form797 // (use the bodyDecoder() middleware for this)
480 unmodified lines