From 5e0b9747121eab67c5a3ee3bb42a677e35da7fd6 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 10 Nov 2014 14:57:53 -0500 Subject: Add simple SqlSession implementation This allows us to store session data in the DB. This way session data can be shared by multiple servers behind a balancer. Signed-off-by: Simo Sorce Reviewed-by: Patrick Uiterwijk --- quickrun.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'quickrun.py') diff --git a/quickrun.py b/quickrun.py index 852f8b0..0546fcc 100755 --- a/quickrun.py +++ b/quickrun.py @@ -77,6 +77,9 @@ def config(workdir): 'admindb': admin_db, 'usersdb': users_db, 'transdb': trans_db, + 'sesstype': 'file', + 'sessopt': 'path', + 'sessval': os.path.join(workdir, 'sessions'), 'secure': 'False'}) conf = os.path.join(workdir, 'ipsilon.conf') with open(conf, 'w+') as f: -- cgit