Changeset - 5948ab03e639
[Not reviewed]
beta
0 3 0
Marcin Kuzminski - 14 years ago 2011-12-09 12:45:48
marcin@python-works.com
default session settings was reverted to file.
- encrypted cookie requires additional libs, might be confusing for new users
- others who need it still will enabled it
3 files changed with 25 insertions and 10 deletions:
0 comments (0 inline, 0 general)
development.ini
Show inline comments
 
@@ -33,7 +33,7 @@ pdebug = false
 
threadpool_workers = 5
 

	
 
##max request before thread respawn
 
threadpool_max_requests = 6
 
threadpool_max_requests = 10
 

	
 
##option to use threads of process
 
use_threadpool = true
 
@@ -133,18 +133,23 @@ beaker.cache.sql_cache_long.key_length =
 
## The storage uses the Container API 
 
##that is also used by the cache system.
 

	
 
#db session example
 
## 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 = cookie
 
## encrypted cookie session, good for many instances
 
#beaker.session.type = cookie
 

	
 
beaker.session.type = file
 
beaker.session.key = rhodecode
 
beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
 
beaker.session.validate_key = 9712sds2212c--zxc123
 
beaker.session.timeout = 36000
 
beaker.session.httponly = true
 
# uncomment for https secure cookie
 

	
 
## uncomment for https secure cookie
 
beaker.session.secure = false
 

	
 
##auto save the session to not to use .save()
production.ini
Show inline comments
 
@@ -133,18 +133,23 @@ beaker.cache.sql_cache_long.key_length =
 
## The storage uses the Container API 
 
##that is also used by the cache system.
 

	
 
#db session example
 
## 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 = cookie
 
## encrypted cookie session, good for many instances
 
#beaker.session.type = cookie
 

	
 
beaker.session.type = file
 
beaker.session.key = rhodecode
 
beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
 
beaker.session.validate_key = 9712sds2212c--zxc123
 
beaker.session.timeout = 36000
 
beaker.session.httponly = true
 
# uncomment for https secure cookie
 

	
 
## uncomment for https secure cookie
 
beaker.session.secure = false
 

	
 
##auto save the session to not to use .save()
rhodecode/config/deployment.ini_tmpl
Show inline comments
 
@@ -133,18 +133,23 @@ beaker.cache.sql_cache_long.key_length =
 
## The storage uses the Container API 
 
##that is also used by the cache system.
 

	
 
#db session example
 
## 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 = cookie
 
## encrypted cookie session, good for many instances
 
#beaker.session.type = cookie
 

	
 
beaker.session.type = file
 
beaker.session.key = rhodecode
 
beaker.session.encrypt_key = ${app_instance_secret}
 
beaker.session.validate_key = ${app_instance_secret}
 
beaker.session.timeout = 36000
 
beaker.session.httponly = true
 
# uncomment for https secure cookie
 

	
 
## uncomment for https secure cookie
 
beaker.session.secure = false
 

	
 
##auto save the session to not to use .save()
0 comments (0 inline, 0 general)