Skip to main content
Participant
January 30, 2009
Question

component & SQL help!

  • January 30, 2009
  • 2 replies
  • 623 views
Hi there,

I'm a complete newbie with CF and would really appreciate the help. I've modified a component being used by one of the pages. It simply queries the DB and returns some results. I've modified the query but it doesn't seem to affect what the page displays? I even renamed the function to try and get it to error out but still nothing happens? Does CF cache pages? Do I need to recompile the site or something for the changes to take place?

Thanks in advance,

Jim
This topic has been closed for replies.

2 replies

Inspiring
January 30, 2009
As JR pointed out, there is an administration setting for Trusted Cache.

But it is also a very common practice to load objects into memory when
an ColdFusion 'application' starts. Changing the code of the component
will not change objects already in memory. If this is the case, there
is most likely some kind of setting for a developer to 'refresh' the
memory objects, but that would be up to the original developer to have
implemented. You can always brute force the refresh by bouncing the
ColdFusion server, this would cause all application's to restart and
reload any objects they are coded to load at start up.

But really, you should probably learn more about the architecture of
this application so you understand how it is expected to work.

HTH
Ian

Inspiring
January 30, 2009
Is the "Trusted Cache" option enabled on your CF server? If so you should disable it and/or clear the cache.

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=basiconfig_07.html
jlungAuthor
Participant
January 30, 2009
Hi JR,

Thanks for the help! Like I said I'm a total newb with CF. How do I disable the Trusted Cache? How do i clear the cache? If I have to use <cfobjectcache action="clear">, where do I put it?

Thanks again,
Jim
Inspiring
January 30, 2009
You will need to login to your ColdFusion administrator and visit the "Caching" section. Take a look at the link I provided in my previous post.