Question
Weird things happen when using .cfc function arguments
Hey Guys,
I have a function as the following attached code, I can invoke this function and it works well. but when I change the number 32144809 to <cfqueryparam value="#arguments.jpRunNum#" cfsqltype="cf_sql_integer"> and invoke it by
<cfset qGetJPDependency = CreateObject("component","cfdocs.imd.criticalPath.components.CriticalPath").test(run_num)>,it firstly takes a long time waiting without any response, then it shows a message "Request timed out waiting to execute", I don't how to explain this, is there anyone know the reason caused this issue????
Thanks!
I have a function as the following attached code, I can invoke this function and it works well. but when I change the number 32144809 to <cfqueryparam value="#arguments.jpRunNum#" cfsqltype="cf_sql_integer"> and invoke it by
<cfset qGetJPDependency = CreateObject("component","cfdocs.imd.criticalPath.components.CriticalPath").test(run_num)>,it firstly takes a long time waiting without any response, then it shows a message "Request timed out waiting to execute", I don't how to explain this, is there anyone know the reason caused this issue????
Thanks!
