Permalink
Browse files

clear

  • Loading branch information...
1 parent 8d0e97f commit d07665e4fd313a3f482aab641409a6e14b2bfb11 @tj tj committed Oct 13, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 en/api/mw-cookieSession.jade
View
5 en/api/mw-cookieSession.jade
@@ -15,3 +15,8 @@ section
+js.
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.