Mercurial > kallithea
changeset 1660:5568b0cea3cc beta
db based session example for .ini
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 08 Nov 2011 03:05:00 +0200 |
parents | 3387b53044bf |
children | fe5575f95850 |
files | development.ini production.ini |
diffstat | 2 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/development.ini Mon Nov 07 15:37:58 2011 +0200 +++ b/development.ini Tue Nov 08 03:05:00 2011 +0200 @@ -131,6 +131,12 @@ ## dbm, file, memcached, database, and memory. ## The storage uses the Container API ##that is also used by the cache system. + +#db session example +#beaker.session.type = ext:database +#beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode +#beaker.session.table_name = db_session + beaker.session.type = file beaker.session.key = rhodecode
--- a/production.ini Mon Nov 07 15:37:58 2011 +0200 +++ b/production.ini Tue Nov 08 03:05:00 2011 +0200 @@ -130,6 +130,12 @@ ## dbm, file, memcached, database, and memory. ## The storage uses the Container API ##that is also used by the cache system. + +#db session example +#beaker.session.type = ext:database +#beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode +#beaker.session.table_name = db_session + beaker.session.type = file beaker.session.key = rhodecode