var expSession = require('express-session');
var RedisStore = require('connect-redis')(expSession);

module.exports = function Sessions(url) {
	var store = new RedisStore({url:url});
	var session = expSession({
		secret: process.env.EXPRESS_SESSION_SECRET,
		store: store,
		resave: true,
		saveUninitialized: true,
		cookie: {domain: '.joi-analytics.com'}
	});

	return session;
}
@@ -248,16 +248,26 @@
 N_SECRET
+ %7C%7C 'test'
 ,%0A%09%09stor

add test.html