I have the same issue as some others have posted on other threads. Almost certainly related to the same thing, but maybe not to the same feature requests previously submitted.
I start out with a browser with history cleared. Login to WHM. List accounts. Click on the CP link for an account. End up with the cpanel page for that account opening in a new tab and me logged into that page as root. This is how it used to work and how I want it to work in the last case below.
I logout of any cpanel tabs if open, logout of the WHM tab. Later I go through the WHM login/list/click on CP. This, too, works.
Where it all goes wrong is if I just close the WHM and cpanel tabs without logging out. When I go to WHM again it asks me to login again because "The security token is missing from your request." That's a cosmetic issue at that point. But when I click on a CP link the cpanel page for the account also tells me the security token is missing. This is the big problem because it forces time-consuming behaviour upon me. Leave the browser open, lock my screen and go home and the next day I have this problem. I can't fix it by logging out because I can't log out of the cpanel windows I already closed. I can only fix it by clearing history for the appropriate server or by clearing all history (which has unwanted side-effects). Or I have to remember to always logout of cpanel/WHM tabs and never just close a tab.
Ideally, logging in to WHM as root would clear any other security tokens for the server. Well, it's not perfect because if I had cpanel windows open I'd lose their sessions but it's better than what happens at present.
PS
My boss asked me what I'd been doing this past hour. I explained I'd been trying to see why this error was cropping up, checking if it happened with different browsers, finding workarounds and submitting this post. He asked for a demo of the problem and I couldn't reproduce it. The problem was solidly reproducable before and now has gone. Could this be a race hazard issue? We have a slow connection and there were 4 people who went home before I tried demonstrating it to my boss.
--
Paul
I start out with a browser with history cleared. Login to WHM. List accounts. Click on the CP link for an account. End up with the cpanel page for that account opening in a new tab and me logged into that page as root. This is how it used to work and how I want it to work in the last case below.
I logout of any cpanel tabs if open, logout of the WHM tab. Later I go through the WHM login/list/click on CP. This, too, works.
Where it all goes wrong is if I just close the WHM and cpanel tabs without logging out. When I go to WHM again it asks me to login again because "The security token is missing from your request." That's a cosmetic issue at that point. But when I click on a CP link the cpanel page for the account also tells me the security token is missing. This is the big problem because it forces time-consuming behaviour upon me. Leave the browser open, lock my screen and go home and the next day I have this problem. I can't fix it by logging out because I can't log out of the cpanel windows I already closed. I can only fix it by clearing history for the appropriate server or by clearing all history (which has unwanted side-effects). Or I have to remember to always logout of cpanel/WHM tabs and never just close a tab.
Ideally, logging in to WHM as root would clear any other security tokens for the server. Well, it's not perfect because if I had cpanel windows open I'd lose their sessions but it's better than what happens at present.
PS
My boss asked me what I'd been doing this past hour. I explained I'd been trying to see why this error was cropping up, checking if it happened with different browsers, finding workarounds and submitting this post. He asked for a demo of the problem and I couldn't reproduce it. The problem was solidly reproducable before and now has gone. Could this be a race hazard issue? We have a slow connection and there were 4 people who went home before I tried demonstrating it to my boss.
--
Paul
Last edited: