Increase In Login Time From Backend

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 ?

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

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 ?

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
}

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.

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.

Do you see any notifications on screen when you get logged in?

Do you use the Ebay addon?

Sorry, I misunderstood the initial question. We suggest you to check server error logs and temporary disable 3rd party modules which were installed recently.