From e889a1060c8723f2f4339cda8de03ee0de786bae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 4 Jan 2012 16:09:56 +0100 Subject: Config: add session options --- lib/zorglub/config.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/zorglub/config.rb b/lib/zorglub/config.rb index e4804fd..d38e7fc 100644 --- a/lib/zorglub/config.rb +++ b/lib/zorglub/config.rb @@ -9,7 +9,11 @@ module Zorglub :layout => 'default', :view_dir => 'view', :layout_dir => 'layout', - :session_on => false + :session_on => false, + :session_key => 'zorglub.sid', + :session_secret => 'session-secret-secret', + :session_sid_len => 64 + # } @engines = { } class << self -- cgit v1.1-2-g2b99