Bobcares

“Your login session has expired” error in cPanel – Here’s how to fix it

by | Jan 10, 2019

It’s quite annoying when cPanel suddenly kicks you out.

However, cPanel usually reminds website owners about the cause of the problem. And, one such error is “Your login session has expired“.

At Bobcares, we help website owners resolve such errors as part of our Outsourced Technical Support services to web hosts.

Today, we’ll discuss the main reason for this error and how we fix it.

 

‘Your login session has expired’ in cPanel – What causes this error?

Website owners usually experience this error when they use multiple connections to access the account within a specific timeframe or when they use a VPN or proxy that often changes the IP.

Now, let’s see why cPanel kicks users out with the error message “Your login session has expired“.

cPanel uses the “Cookie IP validation” security feature. This compares the visitor’s current IP address to their IP addresses for subsequent requests.

And, most hosting providers set this value to strict. So, the current IP address and the IP addresses on subsequent requests should match. Otherwise, cPanel kicks you out and shows the error “Your login session has expired“.

 

‘Your login session has expired’ in cPanel – How to fix?

In most cases, a re-login to cPanel or login attempt from an alternate browser works fine. But, to fix this permanently, we must ensure that the IP remains static all the time.

Now, let’s see how our Support Engineers permanently resolve this problem.

 

1) Get a static IP address

Some network providers or ISPs constantly change their IP address. As a result, cPanel identifies the session as invalid and kicks out the user.

Here, our Support Engineers suggest the customers to contact ISPs and obtain a static IP address, so that the connection IP doesn’t change.

Alternatively, we suggest customers to use VPNs that stabilize the IP, and more likely act as a static IP address that doesn’t change frequently.

2) Tweak Cookie IP Validation settings

Likewise in VPS or Dedicated servers, we suggest sever owners to tweak the Cookie IP Validation settings.

As we discussed, most web hosts set this parameter to strict, which causes frequent problems.

In such cases, we change the Cookie IP Validation to Loose, which checks whether the session IP and IP of subsequent requests belong to same range.

 

your login session has expired cpanel

Cookie IP Validation in cPanel

 

We do it from Tweak Settings option in WHM. Additionally, our Support Engineers disable Proxydomains to ensure maximum effectiveness of this option.

[Need help in tweaking your server’s WHM settings. Don’t worry, our SSupport Engineers can help you here.]

3) Use static cPanel login link

For customers who use CDN services, they connect from their own network of servers. So each request can come from different IP addresses.

So, our Support Engineers recommend to access cPanel using a URL that doesn’t proxy through CDN.

In other words, we suggest customers to use proxy subdomain “https://cpanel.domain.com” to access cPanel, and point DNS directly to the cPanel server. Most importantly, we ensure that this sub domain is excluded from CDN inorder to bypass the CDN rules.

Alternatively, we recommend website owners use static URL like https://server_name:2083 to access cPanel. Here server_name is the cPanel server name and 2083 is the cPanel port.

 

Conclusion

In short, “Your login session has expired” error in cPanel can occur due to Cookie IP validation settings in WHM. Today, we’ve discussed the top 3 solutions implemented by our Support Engineers to fix this problem.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

SEE SERVER ADMIN PLANS

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF