Tank Auth is_logged_in() problem |
[eluser]Unknown[/eluser]
I have this problem, when user logs out, he can still go back to previous page using browsers go back button. For some reason, if it is index method then everything is working fine. Any ideas how can I fix this problem? Thanks! Code: <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); UPDATE! I find this: http://www.robertmullaney.com/2011/08/13...deigniter/ Now all I need to do is just add $this->output->nocache(); to my constructor. If there is better solution, please let me know. Thanks!
[eluser]404error[/eluser]
I am having the same problem, after I log out I can hit the back button and am logged in again. How did you fix this problem? Is there something we can do in our controllers to destroy the session after we click log out? Thanks |
Welcome Guest, Not a member yet? Register Sign In |