Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by taint (Chaplain)
on May 11, 2016 at 18:54 UTC ( #1162788=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1162788]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2022-05-21 00:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (76 votes). Check out past polls.

    Notices?