113 'group': 'web', 'inputlevel': 2, |
113 'group': 'web', 'inputlevel': 2, |
114 }), |
114 }), |
115 ('http-session-time', |
115 ('http-session-time', |
116 {'type' : 'int', |
116 {'type' : 'int', |
117 'default': 0, |
117 'default': 0, |
118 'help': 'duration in seconds for HTTP sessions. 0 mean no expiration. '\ |
118 'help': "duration in minutes of the cookie used to store session " |
119 'Should be greater than RQL server\'s session-time.', |
119 "identifier. If 0, the cookie will expire when the user exist its " |
|
120 "browser. Should be 0 or greater than repository\'s session-time.", |
120 'group': 'web', 'inputlevel': 2, |
121 'group': 'web', 'inputlevel': 2, |
121 }), |
122 }), |
122 ('cleanup-session-time', |
123 ('cleanup-session-time', |
123 {'type' : 'int', |
124 {'type' : 'int', |
124 'default': 43200, |
125 'default': 1440, |
125 'help': 'duration in seconds for which unused connections should be '\ |
126 'help': 'duration of inactivity in minutes after which a connection ' |
126 'closed, to limit memory consumption. This is different from '\ |
127 'will be closed, to limit memory consumption (avoid sessions that ' |
127 'http-session-time since in some cases you may have an unexpired http '\ |
128 'never expire and cause memory leak when http-session-time is 0). ' |
128 'session (e.g. valid session cookie) which will trigger transparent '\ |
129 'So even if http-session-time is 0 and the user don\'t close his ' |
129 'creation of a new session. In other cases, sessions may never expire \ |
130 'browser, he will have to reauthenticate after this time of ' |
130 and cause memory leak. Should be smaller than http-session-time, '\ |
131 'inactivity. Default to 24h.', |
131 'unless it\'s 0. Default to 12 h.', |
|
132 'group': 'web', 'inputlevel': 2, |
132 'group': 'web', 'inputlevel': 2, |
133 }), |
133 }), |
134 ('cleanup-anonymous-session-time', |
134 ('cleanup-anonymous-session-time', |
135 {'type' : 'int', |
135 {'type' : 'int', |
136 'default': 120, |
136 'default': 5, |
137 'help': 'Same as cleanup-session-time but specific to anonymous '\ |
137 'help': 'Same as cleanup-session-time but specific to anonymous ' |
138 'sessions. Default to 2 min.', |
138 'sessions. You can have a much smaller timeout here since it will be ' |
|
139 'transparent to the user. Default to 5min.', |
139 'group': 'web', 'inputlevel': 2, |
140 'group': 'web', 'inputlevel': 2, |
140 }), |
141 }), |
141 ('force-html-content-type', |
142 ('force-html-content-type', |
142 {'type' : 'yn', |
143 {'type' : 'yn', |
143 'default': False, |
144 'default': False, |