Welcome Guest, Not a member yet? Register   Sign In
To keep session alive between controllers...
#1

[eluser]pluus[/eluser]
Should I put session_start(); in the beginning of the controller
to keep session alive between controllers?
#2

[eluser]CroNiX[/eluser]
Not if you're using CI sessions...

Try Autoloading the session library, or you'll have to load it for each controller.
#3

[eluser]pluus[/eluser]
Thank you! Big Grin
I've been using autoload but didn't know the fact it calls session_start().
#4

[eluser]CroNiX[/eluser]
Yes it does. You can look in the session library to see how it works.




Theme © iAndrew 2016 - Forum software by © MyBB