Hello, i did a login page that after logged in create a session and save the user in the session, then with header('Location: dashboard.php'); It goes to the new page, the admin dashboard. When i try it on my local pc in visual studio with extension serve server, everything is fine. When i upload the files on my cPanel it doesn't work. It creates the session user variable but doesn't execute the header. I can't understand why. Everything in the code works until the header instruction on the server! On my local pc works on live server.