0

I found one problem to start session in server site. I have one login page after login success another php page reloaded. And i call session variable in header.php. and call header file in another file. Its working fine in local host . But after host its showing this error. Please suggest any solution.[This is the error][error][login page][login.php]

[header call in another page which is reloaded after successful login][index.php][header file where call the session and check login or not][header.php]

  • Please remember to always add your code here as text. Images do not help anyone. – aynber Apr 24 '20 at 11:34
  • I am not seeing your attachments but I think you are calling session_start() more than once. Only call once on top of your header file. If the header is also called in the other pages you do not need to start the session on those pages anymore. Let us know how you get on. – Kwinnie Navarro Apr 24 '20 at 11:37

0 Answers0