Increases the session opencart admin panel
Increases the session opencart admin panel
Creation, development, manufacturing sites | WEB-STYDIA.COM

5/56 ratings

And so dear friends, there is often such that you do something in the admin panel opencart (editing an item, an article, a description of the categories, or other conduct actions, then you urgently need to absent himself, back and the session is no longer active, and you again have to undergo authorization in therefore, all the data you entered did not survive and you have to do everything at first ....
Today we will try to increase the time of your session opencart ...
There are many solutions how to increase the session, but today we look at the fastest and easiest methods.
Method one:
Open the file /system/library/session.php
And replaces the code:


Method two:
Open the file admin/view/template/common/header.tpl
And add the code:

Thus your server will ping every 20 seconds, to allow your session does not die, and you will not be thrown away with admin as long as you do not want to leave.
If you should set vqmod clean the cache.
Just like that, we solved the problem with opencart session.
Thank you for attention.

You may also like

No Comment

You can post first response comment.

Leave A Comment

Please enter your name. Please enter an valid email address. Please enter a message.