My php sessions keep being lost after login
问题 I have read alot about the php security best practices on so, and I am trying hard to employ those on my xampp server. I have an include that does all my security, ddos, session management, and in there is a function called sec_session_start. The code is below, but when i try to login, and then redirect back to my home page, all the session data is gone. On my login process page, before I do a redirect, it has all the correct session data. After each header, i am doing "exit;". I have also