I'm new to ColdFusion. I'm having a problem with coldfusion components. I have a functionality where i call cfcomponent function through jquery ajax call, and in the cffunction i'm executing a query and sending resulted html in string format as response.
Everything is working fine but for some reason i'm not getting latest records from database, i tried cachedwithin = "0" in cfquery tag but no luck. Can someone explain why this kind of behavior from cfcomponents? My guess is caching.
Edit:
Issue Has been resolved, Thanks everyone for your response. The issue is we used space in cfqueryparam value like below.
<cfqueryparam list="yes" separator="," cfsqltype="CF_SQL_VARCHAR" value="A, B, C, D">
I think it should be like this,
<cfqueryparam list="yes" separator="," cfsqltype="CF_SQL_VARCHAR" value="A,B,C,D">
that made query to exclude some of results, beacuse cfqueryparam included space when it converted list to varchar's