How do I detect which button was clicked on “save/open/cancel” dialog?

后端 未结 3 1051

I got a webpage where members can download different kind of files on. I wan\'t to get information about which files and how many times each member have downloaded. when the

3条回答
  •  旧时难觅i
    2021-01-16 11:32

    You can't know that. Some browsers even start the download before the user decides what to do with the file. But perhaps you can get your webserver to log if the download has been completed. That's probably the most reliable result you can get.

提交回复
热议问题