node package manager


a cassandra session store for connect.


A Cassandra session store for connect.

Re-uses a helenus pool and creates a column family called connect_session to store the session in if required.

npm install connect-cassandra
var express = require('express'),
helenus = require('helenus'),
CassandraStore = require('connect-cassandra')(express);

var pool = new helenus.ConnectionPool({
    hosts      : [''],
    keyspace   : 'test'

pool.connect(function(e) {
	var app = express.createServer();
	app.use(express.session({ secret: 'supersecretkeygoeshere', store: new CassandraStore({ pool: pool })));

Pair programmed by Roy Lines and James Bloomer.