![]() |
Cache Problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Cache Problem (/showthread.php?tid=33174) |
Cache Problem - El Forum - 08-18-2010 [eluser]JingCleoVil[/eluser] Hi, I have a problem with $this->output->cache(n) regards with the logged and login box. My Controller is Code: class Main extends Controller $this->user->isRestrict() is just a boolean value. Now here is the scenario when I log in I can logged in successfully but logging out its technically logged out but the logged.php view is still remain that means its being cached. Is there any way to not cached the loggin.php view after logging out? Or do I need to create a function delete cache file. PS: The $this->output->cache(n) function whether I put it in the controller index or constructor controller same output no changes happen. |