Answer the question
In order to leave comments, you need to log in
How can I delete a user uploaded file after the client closes the page?
Testing locally on Open Panel Server: Apache 2.4 + PHP 7.0.
A POST request is generated with a file. The file is uploaded to the server and accessed by JS. Access is needed for the entire time the page is open.
I tried to figure out the sessions and register my handlers when closing - it didn’t work out. The code, of course, was removed in order to at least somehow work.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question