Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
cgibbs-cra #1
Problem with CF Forms caching code changes
Hi all,
I've been having a problem with code changes in CF MX7 not being reflected
when I test my programs.
I have a very small form that includes a CFTREE ( but any control seems to be
affected ). If I make a code change to show a different field within a control,
it is not reflected when I rerun the code. Controls like a text box sometimes
will not appear when added, even. I have verified that the new code is being
moved in to the proper directory on the Apache server.
If I take the seemingly affected code and paste the identical code into a new
..cfm file, CF7 will correctly display the results, so I know it's not a coding
problem, or a file move problem.
It seems like the old version of the form is being cached at the server ( I
have cleared my browser cache ) On the CF Administrator, I have set the cache
template and queries to 0. I also cleared the save class file option. Even with
this setting, the new code changes are not appearing.
HELP!
TIA
cgibbs-cra Guest
-
caching? problem with forms authentication and IE (but not Netscape?)
I have a web application with at least three pages: /index.aspx (home page) /login.aspx (login page) /my/portfolio.aspx (private page - needs... -
Web Service Caching - code changes not reflected
Hi, I have a webservice created in CF and the changes I make in the code are not reflected when I run it again... I tried the old method of... -
forms caching info
Hello all- I have some forms setup for a doctors office. They work fine except that the form info is being cached, which is bad. There is a computer... -
possible caching problem
I am trying to implement forms authentication in my asp.net app. I set the loginurl setting to be "login.aspx" at first and then I needed to change... -
ASP.Net, IE 5 & 5.01, Caching Problem
Thanks Mark, I think that will solve my problem. A related question then would be, how can I write out these meta tags in code. All of my pages in... -
cgibbs-cra #2
Re: Problem with CF Forms caching code changes
All right,
I still have the same problem, but if I press the 'Clear Template Cache
Button' each time I change my code, it seems to work. Obviously this is not
working as intended, ColdFusion does not seem to see changes made to my code
within a file.
cgibbs-cra Guest
-
cgibbs-cra #3
Re: Problem with CF Forms caching code changes
This is getting stranger. I am using DW 8 to create my CFM files. I run
through the save, put and preview process and quickly run into the same problem
I describe above.
However, if I use Notepad to open the file I put in the server directory and
save it (without making any changes), CF will process the file correctly.
GAAAAAAAAAAAAAHHHHHHHHHHH!
cgibbs-cra Guest
-
mxstu #4
Re: Problem with CF Forms caching code changes
Now that you mentioned you're using DW8, did you check the issues list ?
[url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=a3f38dcf[/url]
mxstu Guest
-
cgibbs-cra #5
Re: Problem with CF Forms caching code changes
You know, I completely missed this the first time I walked through that link.
However, the answer is there.
Thanks for making me look one more time.
------------------------ Answer below ( from the link )
Viewing a file in a browser does not show recent updates (ColdFusion and
Windows only)
topic update: September 23, 2005
Issue
When viewing a ColdFusion page requested through a ColdFusion server, the page
does not reflect recent changes made.
(Ref. 199111)
Reason
This problem occurs because of the time stamp issue, and how ColdFusion
servers cache pages. ColdFusion assumes the page has not changed since the
timestamp has not changed, so delivers a cached page to the browser.
The problem only occurs when the Remote and Testing server are accessed via
the Local/Network site setting.
Solution
Two work-arounds are available.
Preview in Browser using temporary files
By previewing temporary files (Edit > Preferences, Preview in Browser
category), each time the page is previewed a unique file name is used, so the
caching issue is avoided.
Uncheck "Maintain synchronization info" in the site's Remote Info section.
NOTE: Site synchronization cannot be used if this option is unchecked. If site
synchronization is needed, consider a different access option besides
Local/Network.
cgibbs-cra Guest



Reply With Quote

