View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000648 | bareos-core | webui | public | 2016-04-21 15:24 | 2017-06-08 16:38 |
Reporter | hostedpower | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | Debian | OS Version | 8 |
Product Version | 15.2.3 | ||||
Summary | 0000648: Timeout way too short and other options that need to be configurable | ||||
Description | Hi, The timeout it way too short in the web-ui. I would like to keep it open for at least 24 hours and potentially even longer like permanently until logout. I changed the timeout inside ./module/Application/src/Application/Controller/Plugin/SessionTimeoutPlugin.php to 100000 but it does not seem to have any effect. It's really not user friendly to be kicked out after 10 min by default. Another thing I would like is increaing the number of pages for the pager. It defaults to 10 items. I would like to have it default to 100 or something like this. The timeout is really an issue for me atm, the second would be nice to have ;) Best regards and thanks in advance!! | ||||
Tags | No tags attached. | ||||
I changed it like this now: class SessionTimeoutPlugin extends AbstractPlugin { public function timeout() { return true; Even that times out after a certain amount of time. Probably there is a timer elsewhere somewhere in the code :) |
|
Changed this in autoload/global.php 'session' => array( 'config' => array( 'class' => 'Zend\Session\Config\SessionConfig', 'options' => array( 'name' => 'bareos', 'use_cookies' => true, 'cookie_lifetime' => '86400', 'gc_maxlifetime' => '86400', 'cache_expire' => 86400, 'remember_me_seconds' => 86400, 'use_cookies' => true ), ), fingers crossed :) |
|
Great that it's assigned. Also added this now in the apache config (php settings) since I still get kicked out after a while :) #Session timeout php_value session.cookie_lifetime 86400 php_value session.gc_maxlifetime 86400 Will see if it works, so far I don't manage to be inactive for more than 30 - 60 min. |
|
Doesn't work, no idea what kicks me out so fast :| | |
Set the cookie lifetime to zero to reset the lifetime to it's maximum at every click, this was set to a wrong value. 'cookie_lifetime' => '0', I'm currently preparing a patch for the 15.2 branch as you always get kicked out after one hour regardless of activity. |
|
Just to let you know. Such things will be configurable via an ini file in 16.2, I guess. | |
Fix committed to bareos-webui master branch with changesetid 6276. | |
bareos-webui: master c4bab8b5 2016-05-04 19:56 Ported: N/A Details Diff |
Fix: Wrong cookie lifetime Sets the cookie lifetime to zero to reset session lifetime to it's maximum with every click, this was set to a wrong value. Also session maximum life- and idle-time is now set to one hour by default. These settings should be configurable via an ini file in future. In addition, the session idle-timeout controller plugin is probably no longer needed, which would require some code cleanup. Fixes 0000648: Timeout way too short and other options that need to be configurable |
Affected Issues 0000648 |
|
mod - config/autoload/global.php | Diff File | ||
mod - module/Application/src/Application/Controller/Plugin/SessionTimeoutPlugin.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-04-21 15:24 | hostedpower | New Issue | |
2016-04-21 16:47 | hostedpower | Note Added: 0002241 | |
2016-04-21 21:09 | hostedpower | Note Added: 0002245 | |
2016-04-28 17:58 | frank | Assigned To | => frank |
2016-04-28 17:58 | frank | Status | new => assigned |
2016-04-28 18:54 | hostedpower | Note Added: 0002251 | |
2016-04-28 22:31 | hostedpower | Note Added: 0002252 | |
2016-05-04 14:40 | frank | Status | assigned => confirmed |
2016-05-04 17:43 | frank | Note Added: 0002255 | |
2016-05-04 17:58 | frank | Note Added: 0002256 | |
2016-05-06 18:25 | frank | Changeset attached | => bareos-webui master c4bab8b5 |
2016-05-06 18:25 | frank | Note Added: 0002259 | |
2016-05-06 18:25 | frank | Status | confirmed => resolved |
2016-05-06 18:25 | frank | Resolution | open => fixed |
2017-06-08 16:38 | frank | Status | resolved => closed |
2017-06-08 16:38 | frank | Assigned To | frank => |