Is there any way to change the default session table field name in NodeJS?
I have been using expressJS and connect-mongo plugin to SAVE session data's in MongoDB as follows,

    var conf = {
    db: {
    	db: dbconfig.mongo_db_name,
    	host: dbconfig.mongo_host,
    	username: '', 
    	password: '', 
    	collection: 'sessionDataTable'
    },
    	secret: '076ee61d63aa10a125ea872411e433b9',    	
    };
    
    app.configure(function(){
    	app.use(express.session({
    		secret: conf.secret,
    		maxAge: new Date(Date.now() + 3600000),
    		store: new MongoStore(conf.db)
    	}));
    });

In connect-mongo, they had given options to change the table name only, If i want to add / change a field name in the "sessionDataTable", then how do i achieve it?. Please help me on this!!!


Is there any way to change the default session table field name in NodeJS?
===

I have been using expressJS and connect-mongo plugin to SAVE session data's in MongoDB as follows,

    var conf = {
    db: {
    	db: dbconfig.mongo_db_name,
    	host: dbconfig.mongo_host,
    	username: '', 
    	password: '', 
    	collection: 'sessionDataTable'
    },
    	secret: '076ee61d63aa10a125ea872411e433b9',    	
    };
    
    app.configure(function(){
    	app.use(express.session({
    		secret: conf.secret,
    		maxAge: new Date(Date.now() + 3600000),
    		store: new MongoStore(conf.db)
    	}));
    });

In connect-mongo, they had given options to change the table name only, If i want to add / change a field name in the "sessionDataTable", then how do i achieve it?. Please help me on this!!!

