Coder Social home page Coder Social logo

connect-tedious's People

Contributors

dhmendo avatar mcartoixa avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

connect-tedious's Issues

req.session.destroy not deleting table row

Hi,

First of all At line 188 it should be

'DELETE s FROM ' + self.tableName + ' s WHERE s.' + self.sidColumnName + '=@sid',

While calling req.session.destroy, it infact creates a new session row with new sessionid but why the old session row are not being deleted even there is sql statement being executed.

PS: How can I access other methods req.session.length(), req.session.get() all prducess #session(object) method not found.

Update documentation for Express version 4

The readme instructs developers to pass express to connect-tedious:

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

In version 4.x, Express removed all built-in middleware from its core except express.static. So the documentation should read:

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

Not sure if you still want to support Express 3 -- at the very least include a note in the readme about Express 4 and express-session?

fn function is not define

In the dbCleanUp function, fn is not defined. Maybe add this callback to the function parameters.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.