Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED PHP sessions persisting

Discussion in 'EasyApache' started by David Gilbert, Feb 21, 2018.

  1. David Gilbert

    David Gilbert Registered

    Joined:
    Feb 21, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Adelaide, Australia
    cPanel Access Level:
    Root Administrator
    Have a strange problem whereby on the live server, when users try to login or logout of the site, the page stays and then only if they refresh will the page change to the login screen.

    on the testing server this does not happen.. Any advice appreciated.

    [removed]
     
  2. David Gilbert

    David Gilbert Registered

    Joined:
    Feb 21, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Adelaide, Australia
    cPanel Access Level:
    Root Administrator
    Solved Problem.. used ob_start() and ob_flush to make it behave
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,247
    Likes Received:
    1,759
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm glad to see you solved the issue. Thank you for sharing the outcome.
     
Loading...

Share This Page