0.0.1 • Published 12 years ago
now-sessions v0.0.1
NowJS Connect HTTP Session Injection
NOTE: requires now-middleware (https://github.com/ianserlin/now-middleware)
To enable:
To activate, when you're ready:
For example:
Parameters are:
- the Connect-compliant SessionStore you are using (really the session store just needs to support the .get() method)
- the connect session key you are using to store the session id in the user's cookie, default is 'connect.sid' if you omit this parameter
0.0.1
12 years ago