Skip to main content

phpMyAdmin now breaks subdomain sessions since 64.0 (build 19)

Comments

7 comments

  • Marc Tremblay
    By further poking around, I'm finding out that by simply logging in to cPanel alone corrupts sessions established on other subdomains of that domain BUT it is still possible to start new sessions on subdomains and continue to work normally afterwards. Tough, once logged into phpMyAdmin, this is not possible and any new session created on subdomains instantly get invalidated for some reason. The only way is to close all browser windows and start fresh. Really weird! EDIT: It is confirmed that using browser 1 to loging in cPanel/phpMyAdmin and browser 2 for the subdomain session works fine, but running both in the same browser breaks the session on the subdomain.
    0
  • cPanelMichael
    Hello Marc, It looks like you encountered behavior that's by-design. You can only have one session at a time per service in a single browser since it's handled via a cookie. Thank you.
    0
  • Marc Tremblay
    Hello Marc, It looks like you encountered behavior that's by-design. You can only have one session at a time per service in a single browser since it's handled via a cookie. Thank you.

    What? I guess my question was unclear. I am not opening phpMyAdmin twice. I'm only having tab #1 open on WWW.AAA.COM website and tab #2 open on phpMyAdmin (or cPanel) on PHPMYADMIN.AAA.COM. Tab #1 session gets corrupted as soon as I have tab #2 loaded. This was not happening on 62.0 or as a matter of fact, even on older versions as far as I can remember, like 56.0; it's been fine for years before I upgrade. I know they're on the same root domain, but they're NOT on the same subdomain. It's always been like this, nothing changed for +5 years about this. EDIT: What's even more conclusive is I have a WAMP setup on my localhost (Windows 7 64-bits Apache/2.4.23 PHP/5.6.25 phpmyadmin 4.6.4) with the same tabs open: one in phpMyAdmin () and it's not happening and they're on the same domain: localhost! It's only happening on the cPanel machine... try to explain that and no, it's not normal behavior that it corrupts all the subdomains sessions whenever you log in to cPanel or phpMyAdmin on another subdomain... and now it's confirmed that it should also work on the exact SAME domain.
    0
  • cPanelMichael
    Hello Marc, Would you mind opening a support ticket using the link in my signature so we can take a closer look at the affected system? You can post the ticket number here and we will update this thread with the outcome. Thank you.
    0
  • Marc Tremblay
    Yes and I even prepared an extremely simple test case for you to see. Sending the ticket now.
    0
  • Benjamin D.
    Try to reset your cookies history.
    0
  • BennyBoy
    That did it. Not sure why. There must have been some sort of glitch happening around the same time I upgraded to 64.0 because now that I completely reset the browser's cookies history, everything works fine! Pretty weird. Case closed!
    0

Please sign in to leave a comment.