CodeIgniter Forums

Full Version: native session
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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

El Forum

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

El Forum

[eluser]kkatusic[/eluser]
Thx