You need to return Response
Route::get('cookie_delete',function(){
$cookie = Cookie::forget('fname');
return Response::make('cookie has bee deleted')->withCookie($cookie);
});
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community