I searched on google and found that here at Stack there are several people with similar problems to mine, but none of the answers actually solved my problem. I have an application developed on codeigniter, it uses the library "SESSION" and everything works perfectly, it was my first application using this library. However, I had to make another application very similar to this, so I copied the whole project (renaming it), and modified what was needed. It was then that my problem began ...
Initially when I started the application, the pages were white. both my WAMP is marked to show all the "errors, notices and warnings" and my application is marked as "development", but still nothing was displayed. Googled enough and I saw that I needed the value of $ config ['cookie_domain'] = ""; did it and the application came back to function, however when I did login and was redirected to another page, session data user were lost. I lost so much time trying to solve this problem I decided to rewrite the drivers using native PHP SESSION, but I still wanted to know what happened and how to solve, why not want to stop using the library "SESSION" of codeigniter. Will someone help me?
Important: The problem also occurs when I record the session in the database, it writes the data to the user, however when the page is redirected it creates a new session without user data, so the user can never log