Sounds like what you're trying to do is memory/CPU intensive... How do you get them all, in a loop?
Mar 27, 2015
9
Level 1
L5: \File::get($filePath) kill my session
Hi,
I'm trying to show images for each of my clients from storage directory instead of public directory to handling unauthorized access to images but there is a big problem after requesting more than about 20
response()->make(\File::get($filePath), 200, ['Content-Type' => 'image/png']);
laravel kill my session and i need to log in to my application again and another big problem is my cpu usage is 100% each time i request this 20 images from my storage directory, any idea what's going on?
I'm using WAMP in windows 8.1 for my local server
Please or to participate in this conversation.