A strange problem have popped up for some weeks ago, it seems i am logged in to both front and backend until i close my browser.
I am kinda lost sins i can point to a new module beeing installed or big changes made in general, so any pointers would be helpfull.
OC 2.3.0.2
Thanks
Freakshow
https://matoghage.no - Running on WooCommerce
https://www.doobie.no - Running on WooCommerce
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
OC do not log me out from sessions, i only get logged out if i close the (exit) the browser, backend i do have to log inn if open a new window, but oc do not log me out like it use to. Fronten keeps me logged in until browser is closed.
dont know what more info i could give
Freakshow
https://matoghage.no - Running on WooCommerce
https://www.doobie.no - Running on WooCommerce
Not really, it's pretty clear.
Simple answer:
Add this to .htaccess and check it has been applied with the phpinfo() function.
<IfModule mod_php5.c>
# Session timeout in seconds
php_value session.cookie_lifetime 1800
php_value session.gc_maxlifetime 1800
</IfModule>
Long answer:
https://stackoverflow.com/questions/520 ... 30-minutes
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
I'm pretty sure it is. Which is why, OC v3.x releases do have the cookie lifetime defined as compared to OC v2.x releases and stated from the catalog/controller/startup/session.php file already.paulfeakins wrote: ↑Tue Sep 11, 2018 6:46 pmNot really, it's pretty clear.
Simple answer:
Add this to .htaccess and check it has been applied with the phpinfo() function.
<IfModule mod_php5.c>
# Session timeout in seconds
php_value session.cookie_lifetime 1800
php_value session.gc_maxlifetime 1800
</IfModule>
Long answer:
https://stackoverflow.com/questions/520 ... 30-minutes
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thanks for your input guys,paulfeakins wrote: ↑Tue Sep 11, 2018 6:46 pmNot really, it's pretty clear.
Simple answer:
Add this to .htaccess and check it has been applied with the phpinfo() function.
<IfModule mod_php5.c>
# Session timeout in seconds
php_value session.cookie_lifetime 1800
php_value session.gc_maxlifetime 1800
</IfModule>
Long answer:
https://stackoverflow.com/questions/520 ... 30-minutes
I have done some testing and moved a copy of my live shop to a test server and also setup a new opencart shop just for test on the same server (enviroment).
Funny thing the live shop copy keeps me logged in and the new one logged me out as it should.
SO this is not an (PHP/Apache) enviroment issue, something on the live shop keeps the sessions going forever for some reason.
Freakshow
https://matoghage.no - Running on WooCommerce
https://www.doobie.no - Running on WooCommerce
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
There are a few candidates, like iSenslabs NitroPack Cache og GDPR Compliance, just on top of my headstraightlight wrote: ↑Wed Sep 12, 2018 8:26 pmPossibly caused by an installed extension requiring a high balanced of resource on the domain.
Freakshow
https://matoghage.no - Running on WooCommerce
https://www.doobie.no - Running on WooCommerce
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 176 guests