- Http://www.trunkful.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfsetting requesttimeout="500"> | |
<form action="isprime.cfm" method="post"> | |
Find Primes out to <input type="text" name="myNum" value=""> | |
<input type="submit" value="Find Primes"> | |
</form> | |
<cfif structKeyExists(form,"myNum")> | |
<table> | |
<tr> | |
<td colspan="10"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
adminUser = "admin"; | |
adminPW = "password"; | |
thefile = "/absolute/path/to/file.cfm"; | |
adminObj = createObject("component","cfide.adminapi.administrator"); | |
adminObj.login(adminPW, adminUser); | |
adminRuntime = createObject("component","cfide.adminapi.runtime"); | |
adminRuntime.clearTrustedCache(thefile); | |
</cfscript> |