I call the session_start() on every page to check if a user is logged in. However, whenever a page is loaded, a new session file is created in the session path. Does anyone know where the problem is.
I could force the page to load the same session by passing the PHPSESSID, but I opt not to do that. Is there any other way, or perhaps some settings that I need to make in the php.ini to fix this problem?
Thanks.