2017/04/15
Keep getting logged out from Selfoss on Debian
I’m running Selfoss RSS reader and loving it!
One thing I don’t love is that it logs me out frequently (BTW, I’m running Apache php-fpm on Debian Jessie). But I think I found a solution. Try adding this to a file called .user.ini in the document root of Selfoss:
1
2
3
|
php_value session.cookie_lifetime 604800
php_value session.cache_limiter private_no_expire
php_value session.cache_expire 604800
|
The 604800 means one week. If you’re running mod_php rather than FPM, you can add these lines to your .htaccess file.
UPDATE: The format for .user.ini is not the same used in .htaccess. The .user.ini version looks like this:
1
2
3
|
session.cookie_lifetime = 604800
session.cache_limiter = public
session.cache_expire = 604800
|
Use whatever cache_limiter() setting suits your needs best.
Keep getting logged out from Selfoss on Debian is original content from devolve.