cause my site its very new
i use 1.7.2
i know there some plugins , but ill do that manually
thx all
cause my site its very new
i use 1.7.2
i know there some plugins , but ill do that manually
thx all
thanks so much rebeccaOpen ow_system_plugins/base/bol/user_service.php
and change the following piece of code:
setcookie('ow_login', $loginCookie->getCookie(), (time() + 86400 * 7), '/', null, null, true);
to:
setcookie('ow_login', $loginCookie->getCookie(), (time() + 60 * 20), '/', null, null, true);
for 20 min. timeout
ow_system_plugins/base/bol/user_service.php
public function deleteExpiredOnlineUsers() { $timestamp = time() - 30 * 60; //30 minutes
$this->userOnlineDao->deleteExpired($timestamp);
or you can change the time here:Hi Ross, can you elaborate what exactly do I have to change in the code above in order to make the default from 30 minutes to 60 minutes?ow_system_plugins/base/bol/user_service.php
public function deleteExpiredOnlineUsers() { $timestamp = time() - 30 * 60; //30 minutes
$this->userOnlineDao->deleteExpired($timestamp);
Thanks