php - Laravel 4 Cookie Key but no Value -


hey having trouble cookies in laravel 4.

i using rest client test api working on , wanted add layer of authentication went according cookies.

in route, put in following code filter it:

route::filter('check_cookie', function(){  var_dump(cookie::get()); }); 

i see var dump happening weird thing see cookie key not value. see in dump array like:

array(1) {  ["api_cookie"]=>   null } 

any idea why? thanks!


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -