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
Post a Comment