Session in CI 4 is not working accross the controller |
I encountered this problem recently.
For me the reason was using hard-coded url: https://www.abcd.com. While the browser url was without “www” ie. https://abcd.com. So instead of hard coded url, i used base_url( ) to generate the base-url automatically. And that solved the session problem, and it is now working in all functions. |
Messages In This Thread |
Session in CI 4 is not working accross the controller - by samiul1978 - 08-15-2020, 05:40 AM
RE: Session in CI 4 is not working accross the controller - by InsiteFX - 08-15-2020, 10:37 AM
RE: Session in CI 4 is not working accross the controller - by Avega Soft - 08-15-2020, 08:30 PM
RE: Session in CI 4 is not working accross the controller - by InsiteFX - 08-16-2020, 03:17 AM
RE: Session in CI 4 is not working accross the controller - by Avega Soft - 08-17-2020, 11:52 PM
RE: Session in CI 4 is not working accross the controller - by groovebird - 07-15-2022, 03:27 AM
RE: Session in CI 4 is not working accross the controller - by Vishwas Gagrani - 08-01-2022, 06:29 AM
|