We have noticed an increase in login time from our portals admin panel. Could any one give some areas to look for which could be the cause of this ?
|
Posted 19 January 2016 - 12:34 PM #1
We have noticed an increase in login time from our portals admin panel. Could any one give some areas to look for which could be the cause of this ?
Posted 19 January 2016 - 03:20 PM #2
config.php
replace:
// Session live time define('SESSION_ALIVE_TIME', SECONDS_IN_HOUR * 2); // 2 hours
with
// Session live time if (AREA == 'C') { define('SESSION_ALIVE_TIME', SECONDS_IN_HOUR * 2); // 2 hours } else { define('SESSION_ALIVE_TIME', SECONDS_IN_HOUR * 24); // 24 hours }
(!) Not tested
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart USD 1210 Multi-Vendor USD 1250 Multi-Vendor PLUS USD 3100 (2775)
CS-Cart Ultimate USD 4025 CS-Cart + YOUPI USD 1459 Multi-Vendor Ultimate USD 7500 (6000)
Posted 19 January 2016 - 08:23 PM #3
config.php
replace:
// Session live time define('SESSION_ALIVE_TIME', SECONDS_IN_HOUR * 2); // 2 hourswith
// Session live time if (AREA == 'C') { define('SESSION_ALIVE_TIME', SECONDS_IN_HOUR * 2); // 2 hours } else { define('SESSION_ALIVE_TIME', SECONDS_IN_HOUR * 24); // 24 hours }(!) Not tested
No luck it still took 30 sec after i logged out and logged in after this change. Is it some db query causing this issue or something else ?
Posted 20 January 2016 - 09:04 AM #4
It is required to examine it on your server. But try this code at first:
replace
define('SESSION_ONLINE', 60 * 5); // 5 minutes
with
if (AREA == 'C') { define('SESSION_ONLINE', 60 * 5); // 5 minutes } else { define('SESSION_ONLINE', 60 * 100); // 100 minutes }
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart USD 1210 Multi-Vendor USD 1250 Multi-Vendor PLUS USD 3100 (2775)
CS-Cart Ultimate USD 4025 CS-Cart + YOUPI USD 1459 Multi-Vendor Ultimate USD 7500 (6000)
Posted 20 January 2016 - 10:03 PM #5
The provided solution will give you an extended time of inactivity before being logged out. Which I don't think is what you were looking for.
Do you see any notifications after you do get logged in? I.e. was anything checked or otherwise updated?
Do you have anything like our EZ Admin Helper that can monitor file changes and/or check for known security intrusions? If so, have there been any changes to core files or intrusions recently detected?
Do you run the Ebay addon? Earlier versions could encounter timeout issues trying to connect to Ebay upon admin login.
EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.
Posted 21 January 2016 - 06:10 AM #6
Yes you are right I am trying to figure out why its taking so long to login and this has been from last few days and we are clueless why it has happened since we havent changed anything.
Posted 21 January 2016 - 07:24 AM #7
Do you see any notifications on screen when you get logged in?
Do you use the Ebay addon?
EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.
Posted 21 January 2016 - 08:41 AM #8
Sorry, I misunderstood the initial question. We suggest you to check server error logs and temporary disable 3rd party modules which were installed recently.
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart USD 1210 Multi-Vendor USD 1250 Multi-Vendor PLUS USD 3100 (2775)
CS-Cart Ultimate USD 4025 CS-Cart + YOUPI USD 1459 Multi-Vendor Ultimate USD 7500 (6000)