Quantcast
Channel: CodeIgniter session set-cookie duplicated -- how to solve - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by P4ul for CodeIgniter session set-cookie duplicated -- how to solve

If I understand your code correctly you are planning on making all of your controllers extend MY_Controller and then in each (or possibly only the relevant) Controller you are going to call...

View Article



Answer by Chris Muench for CodeIgniter session set-cookie duplicated -- how...

EDIT: Only use this code if you are are using $this->load->view(). if you are using echo right in a controller this will cause output before removing the headers can even get deleted.EDIT...

View Article

CodeIgniter session set-cookie duplicated -- how to solve

UPDATE:I am wondering if anyone can review my answer and see if there are any holes in it.There is a well documented issue when using codeingiter and sessions at:Duplicated "set-cookie: ci-session"...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images