Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Increase In Login Time From Backend Rate Topic   - - - - -

 
  • fleaffair
  • Senior Member
  • Members
  • Join Date: 11-Jun 14
  • 537 posts

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 ?


Warm Regards,
Admin | MVE: 4.2.4

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19797 posts

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 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • fleaffair
  • Senior Member
  • Members
  • Join Date: 11-Jun 14
  • 537 posts

Posted 19 January 2016 - 08:23 PM #3

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

 

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 ?


Warm Regards,
Admin | MVE: 4.2.4

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19797 posts

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 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11405 posts

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.


 
  • fleaffair
  • Senior Member
  • Members
  • Join Date: 11-Jun 14
  • 537 posts

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.


Warm Regards,
Admin | MVE: 4.2.4

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11405 posts

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.


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19797 posts

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 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.