jComponents from Joe Rinehart
Browsing through CF related blogs I found a very nifty JS/DHTML CF custom tag to generate Tabs, Accordions, Containers, and Trees. It can be found here.
Browsing through CF related blogs I found a very nifty JS/DHTML CF custom tag to generate Tabs, Accordions, Containers, and Trees. It can be found here.
Many times we have been into the situation where we need to tell CF to wait a couple of seconds and try again. This task is usually easy, with the exception that we don’t want to kill the CPU… Easily we could set a timestamp, and start looping until we reach a target time after that. I downloaded from ColdFusion exchange a cfx tag that promised to accomplish this but it killed the CPU anyway.
So, here’s a little snippet to wait idle using the CF JVM.
So all you guys developing in MX7 have probably already run into this problem. After submitting a flash form the action page recognizes the form scope; however, if you decide to refresh the action page the form scope magically disappears. This happens whether you increase the timeout of the flash form or not.
I’ve been looking for an answer and yet have not found any… so if you come across one please comment back in this post.
Anyway, thus far I only have two awful solutions.
First: use get method because the URL does not disappear… if you have to use post you may loop through the form fields, generate a URL string, and cflocate.
Second: Post and add the ‘post-id’ in the URL. In the action page duplicate the form scope inside a temporary holder in the session scope; e.g. session.formholder.formid. In this action page you have three possible options to execute.
If the form scope is not empty, you duplicate it in the session.
If the form scope is empty and url post-id number is provided, you duplicate the session form-holder into the form scope.
If the url post-id is not passed, you clear the session form holder.
It is a horrible solution, but given the circumstances it was the quickest solution to implement.
Shared hosting companies usually block cfexecute and cfregistry at the sandbox level; but what about cfobject or the createobject function? Coldfusion 5.0 used to have the license serial number in the Server scope. Macromedia immediately recognized the security flaw and removed it in the MX versions. Yet, undocumented coldfusion such as the ServiceFactory object allows anyone to get a hold of the serial number. Perhaps, try to execute the following code: