Changeset - 5568b0cea3cc
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 14 years ago 2011-11-08 02:05:00
marcin@python-works.com
db based session example for .ini
2 files changed with 12 insertions and 0 deletions:
0 comments (0 inline, 0 general)
development.ini
Show inline comments
 
@@ -131,6 +131,12 @@ beaker.cache.sql_cache_long.key_length =
 
## 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
production.ini
Show inline comments
 
@@ -130,6 +130,12 @@ beaker.cache.sql_cache_long.key_length =
 
## 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
0 comments (0 inline, 0 general)