How to start session globally? |
(09-21-2018, 05:29 AM)dave friend Wrote: Perhaps Events could be used? Are you suggesting some thing like this below? // Use a Closure Events::on('pre_system', function(...$params) { $session = \Config\Services:ession(); }); Would that make $session variable globally available? |
Welcome Guest, Not a member yet? Register Sign In |