webjive Posted February 22, 2018 Share Posted February 22, 2018 PLEASE tell me 7.5 fixes the constant timeout issues system wide? Its maddening when you're typing a long response and you have to either refresh the page or you get an invalid token error when clicking reply. You see this system wide. There needs to be a timeout setting we can control for this instead of having to use PHP.ini settings. Seems like if the system supports modifying PHP parameters, this could be controlled via WHMCS. Link to comment Share on other sites More sharing options...
DennisHermannsen Posted February 22, 2018 Share Posted February 22, 2018 I've only seen it happening if I login as a client while typing a response. Version 7 gives you a warning as soon as your token expires, and even saves everything you've written - even after the token expired. 1 Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted February 23, 2018 WHMCS Support Manager Share Posted February 23, 2018 Hi @webjive, A custom PHP session length override is not a new feature added in version 7.5. Link to comment Share on other sites More sharing options...
webjive Posted February 23, 2018 Author Share Posted February 23, 2018 The attached screenshot is the example of whats is driving us nuts.. WHMCS is the only system out of half a dozen that does this. Link to comment Share on other sites More sharing options...
DennisHermannsen Posted February 23, 2018 Share Posted February 23, 2018 Doesn't it only happen if you login as a client or if you've logged in from another location (eg. a laptop)? Link to comment Share on other sites More sharing options...
webjive Posted February 23, 2018 Author Share Posted February 23, 2018 Doesn't matter the location, it only seems to be happening with the admin section. Even tried using a .htaccess tweak to adjust php_value session.gc_maxlifetime 36000 That didn't seem to affect anything. Since we have our own boxes, making root level adjustments if needed are on the table. Link to comment Share on other sites More sharing options...
DennisHermannsen Posted February 23, 2018 Share Posted February 23, 2018 You still haven't answered my question Does this happen in the middle of typing a response or anything else? Is it only happening if you started typing a response, then go and login as a client (using the admin interface) or does anything similar, and then go back to writing the reply? Link to comment Share on other sites More sharing options...
webjive Posted February 23, 2018 Author Share Posted February 23, 2018 Does this happen in the middle of typing a response or anything else? Yes, it can. It all depends on how long it takes to type a response. Sometimes it just seems random. Is it only happening if you started typing a response, then go and login as a client (using the admin interface) or does anything similar, and then go back to writing the reply? We don't login as client very often (maybe once a month if that). From our knowledge, this is just happening on the admin side, not the client side. Link to comment Share on other sites More sharing options...
DennisHermannsen Posted February 23, 2018 Share Posted February 23, 2018 Huh, that's weird. Only happens to me if I perform an action like logging in as the client and then go back to the previous tab to continue my reply. Have you checked off the 'Remember me' box? Link to comment Share on other sites More sharing options...
webjive Posted February 23, 2018 Author Share Posted February 23, 2018 Oh yeah! Thats the first thing that gets checked when logging in. It never kicks us out of the admin so, I'm assuming that the remember me check worked. Link to comment Share on other sites More sharing options...
DennisHermannsen Posted February 23, 2018 Share Posted February 23, 2018 Huh, that's odd. I've only experienced what you're experiencing if I'm idle for a very, very long time. It's never been an issue for me as I just refresh the page and continue. Link to comment Share on other sites More sharing options...
webjive Posted February 23, 2018 Author Share Posted February 23, 2018 Its random for us. Can be 2 minutes or 5 minutes but, its guaranteed to happen. The whole refresh thing I guess is getting long in the tooth with us. None of our other web based systems do this. Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted February 23, 2018 WHMCS Support Manager Share Posted February 23, 2018 Hi @webjive, As this discussion now relates to a current version of WHMCS, I've transferred it to the appropriate forum. This error could occur if your connection's IP address changed after loading the ticket page; common on mobile internet connections. This is an intentional security measure; but you can work around it by disabling Setup > General Settings > Security tab > Session IP Check. Link to comment Share on other sites More sharing options...
webjive Posted February 24, 2018 Author Share Posted February 24, 2018 Thanks John. Fortunately, we're on a stable 100mb Comcast connection and the IP we have is the same one since day 1 of the install. I understand what your saying about an IP change because cPanel for security reasons does something similar by logging you out. As for the session IP check, we've never had that enabled and this problem persists. Good news is, if we do change IP's via VPN or mobile connect, WHMCS does force us to re-login on the admin side. Link to comment Share on other sites More sharing options...
twhiting9275 Posted February 24, 2018 Share Posted February 24, 2018 13 hours ago, webjive said: Good news is, if we do change IP's via VPN or mobile connect, WHMCS does force us to re-login on the admin side. That's what it's supposed to do. As far as what you're seeing, this is indicative of you switching to a client session, at any point indeed. Any time you switch to a client session, your session is going to be invalidated. That's how it works As far as typing long replies, auto save has been enabled since 6.2 or 6.3, so if you're using an up to date version, this shouldn't happen. Link to comment Share on other sites More sharing options...
webjive Posted February 24, 2018 Author Share Posted February 24, 2018 We've seen that in the past where switching does that but, we haven't switched to a client session in months. The autosave is the only thing keeping us sane with the short session times. Link to comment Share on other sites More sharing options...
Recommended Posts