Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <cffunction name="deleteValue" access="remote" returntype="any" returnFormat="json">
- <cfargument name="name" required="yes">
- <cfargument name="cfctoken" required="yes">
- <cfset var result = structNew()>
- <cfif jsonSecurity(arguments.cfctoken)>
- <cfset var deleteStatus = structDelete(session.festBuilder,arguments.name,"yes")>
- <cfset result["success"] = deleteStatus>
- <cfelse>
- <cfset result["success"] = false>
- </cfif>
- <cfreturn result>
- </cffunction>
Advertisement
Add Comment
Please, Sign In to add comment