in reply to How to sleep(), or use a while() in the background?
Would you be open to alternative methods? Since you are serving up the page providing the link thru cgi, why not do the same with the file itself? Generate a url to the same script, or a different one, with a param or path_info() which is time dependent (but not just the plaintext epoch time, or your hotlinker will figure it out). Maybe generate it using Authen::OATH with a longer timestep than default. Then, in the script which serves the file, you would verify that the time parameter was still valid before serving the file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to sleep(), or use a while() in the background?
by taint (Chaplain) on May 11, 2016 at 18:54 UTC |