Problems with cookies / MAMP / CodeIgniter
问题 I'm having a problem with reading cookies on localhost, using MAMP and Codeigniter. I'm trying to ude a cookie to authenticate acess to an admin area. I can set the cookie (I see it on my browser - Chrome) but i'm not able to read it after doing that to grant the acess. I've already tried lots of configurations, but none works. I really need some help on this. Those are the essencial parts of my code: Here I set the cookie $cookie = array( 'name' => 'login', 'value' => 'true', 'expire' => '0'