CodeIgniter Forums
native session - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: native session (/thread-32976.html)



native session - El Forum - 08-11-2010

[eluser]kkatusic[/eluser]
Hello,

I'm beginner in CI and I want use $_SESSION global variable, e.g.: $_SESSION['custom'].
I don't want use CI session library, now I am wondering where to put "session_start()"?

Thx


native session - El Forum - 08-11-2010

[eluser]verynewtothis[/eluser]
Inside the controller.


native session - El Forum - 08-11-2010

[eluser]kkatusic[/eluser]
Thx