First time what we thinking their is a cookies or session problem. Not destroying fully or may be their global session created. But not like that …
Think Just think
You have to submit the form using java script. Our mistake is we are using anchor.
Follow our examples:
IN HEAD TAG
document.myform.action=”<?php echo base_url();?>user/logout”;
Where is your login link put under form tag
<form action=”” name=”myform” id=”myform” method=”post”>