connect-tedious

Connect session store for SQL Server, using Tedious.

npm install connect-tedious
2 downloads in the last week
5 downloads in the last month

connect-tedious Build Status

connect session store for SQL Server, using tedious.

Usage

var express = require('express');
var TediousStore = require('connect-tedious')(express);

var app = express.createServer()
    .use(express.cookieParser())
    .use(express.session({
        secret: 'mysecret',
        store: new TediousStore({
            config: {
                userName: 'mydbuser',
                password: 'mydbpassword',
                server: 'localhost',
                options: {
                  instanceName: 'SQLEXPRESS',
                  database: 'mydatabase'
                }
            }
        })
    )
);

License

View the LICENSE file

npm loves you