CodeIgniter Sessions Variables

CodeIgniter uses it’s own sessions variables, so you won’t be working with native PHP sessions and functions. Below are how to set and get session variables, as well as display all the session variables for debugging. Set a session variable ‘user_id’ with a value of 41:   Get a session variable ‘user_id’ and display it: […]

CodeIgniter Sessions Variables Read More »

Scroll to Top