summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-11-10 14:57:53 -0500
committerPatrick Uiterwijk <puiterwijk@redhat.com>2014-11-12 23:46:52 +0100
commit5e0b9747121eab67c5a3ee3bb42a677e35da7fd6 (patch)
treec93728a60d98385637c9dc82f05fa46fdf858e8f /templates
parent0087ad1e0824b4b1c49ce1468bfbb2e492ac7992 (diff)
downloadipsilon-5e0b9747121eab67c5a3ee3bb42a677e35da7fd6.tar.gz
ipsilon-5e0b9747121eab67c5a3ee3bb42a677e35da7fd6.tar.xz
ipsilon-5e0b9747121eab67c5a3ee3bb42a677e35da7fd6.zip
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 <simo@redhat.com> Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/install/ipsilon.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/install/ipsilon.conf b/templates/install/ipsilon.conf
index 2e402a3..4b170ca 100644
--- a/templates/install/ipsilon.conf
+++ b/templates/install/ipsilon.conf
@@ -11,8 +11,8 @@ transactions.db = "${transdb}"
tools.sessions.on = True
tools.sessions.name = "${instance}_ipsilon_session_id"
-tools.sessions.storage_type = "file"
-tools.sessions.storage_path = "${datadir}/sessions"
+tools.sessions.storage_type = "${sesstype}"
+tools.sessions.storage_${sessopt} = "${sessval}"
tools.sessions.path = "/${instance}"
tools.sessions.timeout = 60
tools.sessions.httponly = ${secure}