setting global variables in config, overwriting when user logs on - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 2.x (https://forum.codeigniter.com/forumdisplay.php?fid=18) +--- Thread: setting global variables in config, overwriting when user logs on (/showthread.php?tid=65023) |
setting global variables in config, overwriting when user logs on - comp_nerd26 - 04-21-2016 Hi All I have written an application, where by the user is required to logon. I use an Access Control list to restrict access to methods. In the user area I would like to be able to overwrite config variables, but in a way I can cache the result so I dont utilize the database. Is it a simple case of using a Hook at a certain interval? |