Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
cf_chick #1
file creation & variables
I have a .cfm page that uses cffile to copy itself with the dynamic form
content to create the new .cfm file. It works fine and creates the file. You
can view the file in a browser. The problem is.... When you clear the cache and
delete the cookies the variables loose their value & my new file no longer
opens.
Is there anyway to create a new file with static values (that are passed to
the cfform)??? Please help!
cf_chick Guest
-
File creation problems
Hi, I'm pretty new at writing extensions so I'm quite certain my problem is a mistake on my part. I've written a piece of code that takes a data... -
STC file creation automation
Is there a way to automate the creation of STC files? We find creating connection keys for our clients to be too much work, and it would be nice to... -
XML File creation
I am generating xml output from a cfquery. <cfxml variable="Contact" casesensitive="yes"> <Contact> <cfoutput query="GetName"> <phonenum... -
Variables in html and user creation
im literate in html and im still wondering how a site like that neo pets game http://www.neopets.com has users create there own names, be able to... -
Global variables - application variables vs include file
What are the best methods for using global constants and variables? I've noticed that many people put all global constants in a file and include... -
philh #2
Re: file creation & variables
What's your goal? To create static (no variable interaction) cfm files? You'd have to write the entire file out to a variable and inject the passed variable values literally.
philh Guest
-
cf_chick #3
Re: file creation & variables
Yes, to create a new complete file that will hold the many variable values that
were passed during the 5 page process. I did not know you could save an entire
file in a variable. What is the tag or function for this?
:o
cf_chick Guest
-
-
-
david_h #6
Re: file creation & variables
My question is why are you using CFFile to create files at runtime... shouldnt
you just save the data to the DB as your going between pages? or in a session
structure so you can just go back and fourth?
david_h Guest
-
cf_chick #7
Re: file creation & variables
Thank you for the help. I realize that it is better to save the data. I have changed my program to do just that. I will check the other tags mentioned.
cf_chick Guest



Reply With Quote

