Wednesday, July 20, 2011

coldfusion: sleep

to place a delay in your .cfm application, call a thread sleep function

<cfset createObject('java', 'java.lang.Thread').sleep(5000) />

the code above halts the application for 5000 milliseconds

No comments:

Post a Comment

SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss

Got this while connecting to my mikrotik router via ssh   Unable to negotiate with <ip address> port <ssh port>: no matching hos...