I have wrote a code that has been working for the last past 3 month. Now suddenly, I noticed that my PHP _Session variable no longer persists between the different page for my l
Bring session_start()
over $secure = SECURE;
in sec_session_start()
. You should not define and assign any vars before session_start()
.
Edit: Actually try to bring it step by step to upper levels and to somehow juggle in conjunction with the other session functions. Use no headers before it.
Edit: See here (point 1) the big problem caused by session_start()
on second line, resolved very simple.