session creation - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: session creation (/showthread.php?tid=70614) |
session creation - renoldtrueman - 05-04-2018 where will do session creation whether within model or controller??? RE: session creation - dave friend - 05-04-2018 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. |