http://qs1969.pair.com?node_id=1162788


in reply to Re: How to sleep(), or use a while() in the background?
in thread How to sleep(), or use a while() in the background?

Thanks for the reply, pryrt.

No. I'm not at all opposed to alternate approaches. In fact, in my frustration, I seriously considered simply using some form of CAPTCHA. But in the end decided not to, as the files should appear to be available, when search engines crawl the tree, and CAPTCHA won't really reveal the files (their names/locations). While the (original) method would. The fact that the links(s) are temporary, is unknown to them. :)

I think, because all my previous attempts end up running the sleep timer in the browser, and thereby make it appear to the (end) user, that the browser is still retrieving data from the site. That I should probably break out the timer, and unlink functions out into a separate file/module, and parametrize the timestamp generated initially, and pass it to the second script (timer/unlinker). I'll need to give this some more thought. :)

Thanks again, pryrt, for taking the time to respond.

--Chris

¡λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH

  • Comment on Re^2: How to sleep(), or use a while() in the background?