codeigniter setting session variable with a variable not working

后端 未结 3 1640
孤街浪徒
孤街浪徒 2021-01-21 15:20

Using codeigniter running locally on WAMP and dealing with sessions. I tried the default session handler, db session, native session and now db session. They all result in the

相关标签:
3条回答
  • 2021-01-21 15:39

    Color me stupid. :\ Turns out there was some bad html that was causing the problem(?). It had to do with, yeah, you guessed it, the header and more specifically where the "style.css" file was being called. Not sure why that was wrecking the session, but it indeed was. So, sorry for wasting everyones time, you can go home now.

    0 讨论(0)
  • 2021-01-21 15:48

    For any of you who stumbled upon this page, see here for the solution : I solved it this way : Losing a session variable between one page with codeigniter session library

    0 讨论(0)
  • 2021-01-21 16:05

    You should work with CI sessions using Session Class

    0 讨论(0)
提交回复
热议问题