CodeIgniter Forums

Full Version: session creation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
where will do session creation whether within model or controller???
Where is up to you. If all (or most) pages of your site use sessions then auto-loading the library make sense.

The other most common place is in the controller __construct() method.