Skip to content

Commit

Permalink
clear
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Oct 13, 2012
1 parent 8d0e97f commit d07665e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions en/api/mw-cookieSession.jade
Expand Up @@ -15,3 +15,8 @@ section


+js. +js.
app.use(express.cookieSession()); app.use(express.cookieSession());

p To clear a cookie simply assign the session to null before responding:

+js.
req.session = null

0 comments on commit d07665e

Please sign in to comment.