Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (19 sloc) 0.756 kb

Sessions  Travis CI


Sessions is a session management module designed to help you manage user sessions. It supports multiple stores to save your data and can be easly attached to an http server.


Install using NPM:

npm install sessions


var http = require("http"),
    Sessions = require("sessions"),
    sessionHandler = new Sessions(); // memory store by default

http.createServer(function (req, res) {
    var session = sessionHandler.httpRequest(req, res);
    // check session for possible methods

This is not only for http requests, check examples to see a simple example for any type of session usage.

Jump to Line
Something went wrong with that request. Please try again.