i need solution for this?
hi friends,
i got error this program
lo.cfc
cfcomponent>
<cffunction name="logon1" access="remote" returntype="Any" >
<cfargument name="from_where" type="string" required="true" >
<cfset form.from_where=from_where>
<cfparam name="client.sec_user_id" default="">
<cfparam name="client.org_focus" default="">
<cfquery name="close_record" Datasource="#request.ds.auth#">
UPDATE logon_activity_track
SET record_closed = 1
WHERE (cfid = '#client.cfid#:#client.cftoken#' and
app = '#application.applicationname#' and
sec_user_id = #val(client.sec_user_id)# and
sec_organization_id = #val(client.org_focus)# and
def_system_id = #application.sys.def_system_id# and
record_closed = 0)
</cfquery>
<cfset client.vl = "">
<cfset client.suag = "">
<cfset client.sec_user_id = "">
<cfset client.sec_organization_id = "">
<cfset w = structdelete(session,"ap")>
</cffunction>
</cfcomponent>
result2.cfm
<cfobject name="TestObject1" component="IST_Business_Applications.IST_Docstor.file_access.lo" >
<cfset a=TestObject1.logon1("logout")>
<cfoutput >
#a#
</cfoutput>
i got undefined a error is coming
anybody give solution
