Sagewire Logo

cold fusion RSS Feed

Recent Posts View Recent Posts | View Archived Posts

Message from research_stuff
Most recent post: 9/23/2007
2 authors and 2 replies.

Hi,

I was researching ways to prevent SQL Injection.

I found where to use cfqueryparm. See below.

<CFQUERY ...>
SELECT *
FROM Customers
WHERE CustID=<CFQUERYPARAM value="#URL.CustID#"
cfsqltype="CF_SQL_INTEGER">

</CFQUERY>

I can see the above if there is only value in the Where statement
condition.
But I have a Where statement where there is multiple conditions in the
IN condition.

For example:

Where fieldname IN (#value1#, #value2#, etc..)How can the CFQUERYPARM be used?Thanks in Advance. read more about SQL Injection fix in the IN condition


Message from amy.bolden
Most recent post: 8/9/2007
2 authors and 2 replies.

Hi,

I have inherited a ColdFusion site. Throughout the site, it has
individual examples of where it connects to our SQL database and
individual examples of where it connects to our Oracle database. I
now find that I need to connect to do a join on some tables in both.
For example, these statements work fine when accessing only one
database at a time:

<CFQUERY name="sqlquery" datasource="SQLdatabase">
Select SqlField FROM mySQLtable st
WHERE id = 1
</CFQUERY>

<CFQUERY name="oraclequery" datasource="Oracledatabase">
SELECT OracleField from myOracletable ot
WHERE id = 1
</CFQUERY>

I need to find some way to run a statement that accesses both as
follows:

Select SqlField, OracleField From mySQLtable st
JOIN myOracletable ot ON st.id = ot.id
WHERE id = 1

Is this possible?

Thanks,
Amy read more about Connect to SQL database and Oracle database at the same time


Message from "Merlyn[v7.0]"
Most recent post: 7/22/2007
2 authors and 2 replies.

Could anyone supply me with an example actionscript that calls a CFM
file to retrieve information from a database? For example, I'm working
on a virtual tour. The map for the virtual tour will have clickable
rooms. When the user clicks on a room, the room number is sent to the
Cold Fusion script that then retrieves specific information about that
room.

That's what I have been put in charge of doing. A simple actionscript
along with a Cold Fusion should help me get started. Any help will be
greatly appreciated.

Thank you. read more about Cold Fusion and Actionscript


Message from PowerLifter1450
Most recent post: 7/9/2007
2 authors and 4 replies.

Hi all, I have the followinig code in a .CFM page to run a query in an
MS-Access DB. However, when I load the page, I see the MSACCESS.EXE
process open, but the loading of the page hangs there and nothing
happens. I see the lock file for the DB created, but that's it. Any
ideas?

<!--- Try to connect to the Access application object --->
<CFTRY>
<!--- If it exists, connect to it --->
<CFOBJECT
ACTION="CONNECT"
CLASS="Access.Application"
NAME="objAccess"
TYPE="COM">

<CFCATCH>
<!--- The object does not exist, so create it --->
<CFOBJECT
ACTION="CREATE"
CLASS="Access.Application"
NAME="objAccess"
TYPE="COM">

</CFCATCH>
</CFTRY><CFSET objAccess.OpenCurrentDatabase("C:\CFusionMX7\wwwroot\ron
\customer.mdb")>

<!---<CFSET objAccess.DoCmd.RunMacro("XDeleteWeb")>--->
<CFSET objAccess.CloseCurrentDatabase>
<CFSET objAccess.Quit(Access.AcQuitOption.acQuitSaveNone)>
<CFSET objAccess = Nothing> read more about COM Objects


Message from El Kabong
Most recent post: 6/25/2007
2 authors and 3 replies.

The goal: New records in a table of service providers will be added by site
visitors via Web form and action pages but need to be approved before
displaying on the Web site. To accomplish this, the display page will be
populated by a query including a WHERE clause requiring " yes" in a newly
added column. The action page will send an e-mail to notify the site
moderator, who will in turn activate the record by editing a yes or no radio
button in the app's passworded back end.

The problem: In order to have the existing 13,000+ records continue to
display, it'll be necessary to update all existing records with a default
"yes" in this new column. How is that best done? Do I use a <CFLOOP> tag or
is the an attribute with <CFUPDATE> that will do the trick?

I have been searching through Ben Forta's Cold Fusion MX WACK but have not found
anything specifically applicable. If it's in there, a page number'd be
helpful.

Thanks for the help.

El read more about How do I update a single column?


Message from ll
Most recent post: 6/25/2007
2 authors and 2 replies.

Hi,
I currently have a CFFORM that has a text box for email address
input. Currently, the user can separate, by manual entry, email
addresses within the input box, with commas.
I am wanting to add a pop up of some sort that will display a list of
email addresses that can be inserted into this text field.
How could this be done without a new window, and can CFFORM email
validation be performed in comma separated lists (or'd it need to
be performed prior to being sent to comma separated list)?

Thanks for any help you might've,
Louis read more about email pop up box


Message from Chris
Most recent post: 6/25/2007
2 authors and 2 replies.

Hi everyone, I need your help with the following issue:

I am using Cold Fusion MX7:
Version 7,0,2,142559 on Windows 2000 Server
--------------------------------------------

I am getting duplicate lines written out to my Report.CSV file.

...and here is an example of the code in use:<!--- First I create the file with its columns written out: --->
<CFFILE action="write" file="D:\Foo\Bar\#OutFile#" output="ColA, ColB, ColC, ColD, ColE">

<!--- Then I loop through the query and write out the corrosponding records: --->
<CFLOOP query="ResultsSet">
<CFSET TextLine = trim(numberformat(x.ColA,-99.999999)) & "," &
trim(numberformat(x.ColB,999.999999)) & "," &
#ColC# & "," & #ColD#&","&#ColE#>


<CFFILE action="append" file="D:\Foo\Bar\#OutFile#" output="#TextLine#"
addnewline="yes">

</CFLOOP>NOTE: The above query has been checked during its execution, in that
only a certain number of iterations are performed by the loop.

For example, if I print a line of text from within the loop to the page,
i.e: Am here </BR>, I get the correct number of lines printed out as HTML,
which corrosponds to the correct number of records retrieved by the query.

However, the resulting OutFile (report.CSV) file produced is twice the size
with duplicate records in it!

Is this a known bug, and if so, is there a fix for it?

Than read more about CFILE and APPEND


Message from Carol
Most recent post: 6/25/2007
2 authors and 2 replies.

I am using ColdFusion 5 with an Microsoft Access database (moving to SQL Server in
the next 2 months). ColdFusion will be upgraded sometime over the next 6
months.

I am having an issue with file attachments for emails. Although I
did not have problems testing, and cannot replicate the problem on my
machine, my customer keeps getting the following error.

Error Diagnostic Information
Error processing CFFILE
No data was received in the uploaded file '\' Saving empty (zero-
length) files is prohibitted. Please make sure you specified the
correct file.
The error occurred while processing an element with a general
identifier of (CFFILE), occupying document position (48:4) to (48:134)
in the template file D:\INETPUB\WWWROOT\OSRMAINSITE\LIMITEDSUBS\ADMIN
\SENDEMAIL.CFM.
Date/Time: 06/18/07 16:37:48
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)

The page she is trying to send from has the following code:

<form method="POST" action="SendEmail.cfm" enctype="multipart/form-
data">

<CFOUTPUT>
<tr>
<td id="fieldName" style="padding-top:3px;">HTML Format? <input
type="checkbox" name="emailType" value="1" checked="checked" />
</td>
</tr>
<tr>
<td id="fieldName" style="padding-bottom:15px;">
Add Email attachment: <input type="file" n read more about email file attachment problem


Message from ll
Most recent post: 6/21/2007
2 authors and 3 replies.

Hi,
I'm familiar, somewhat, with the replace function and have replaced
carriage returns and line feeds with breaks, yet I am now wanting to
insert a break after the occurrence of certain characters (e.g. @xxxxxxxxxxx) in
a string. Is there a good resource for this type of situation?

Thanks,
Louis read more about putting a page break after instance of a certain character


Message from ll
Most recent post: 5/25/2007
2 authors and 3 replies.

Hi,
I am looking for a way to integrate a member section into my CF photo
gallery. I am looking at having a general directory that has its own
images directory (for the general public) and a member directory under
that, which is protected and contains the images that only members can
access.
I wonder if there is a better way, though, in which I can store all
images in the same directory, possibly all under the protected area?
I appreciate any ideas.

Thanks,
Louis read more about CF gallery - member section


Message from El Kabong
Most recent post: 5/14/2007
2 authors and 11 replies.

I'm looking for some sample ColdFusion code for an on line survey or voting contest
that limits voter's IP address to a single vote. Any ideas?

El

--
"Faced with the choice between changing one's mind and proving that there is
no need to do so, almost everyone gets busy on the proof."
Galbraith's Law read more about On line vorting


Message from research_stuff
Most recent post: 5/6/2007
2 authors and 2 replies.

Hi,

I need to encrypt certain information in ColdFusion. The encryption
needs to be FIPS 140 -1 or FIPS 140-2 complient.
ColdFusion is executing on Windows 2000 server and ColdFusion is Mx
7.

Is there any encryption code that is available that FIPS 140 -1 or
FIPS 140-2 complient?

ColdFusion is executing on Windows 2000 server

Thanks in Advance. read more about ColdFusion encryption FIPS 140 -1 or FIPS 140-2


Message from Sam Alex
Most recent post: 4/30/2007
2 authors and 2 replies.

Hey Guys ...

I read that Cold Fusion 8 should be coming out sometime this summer, and I
was curious if anyone had messed with the beta or knew better on when it
would be coming out. We're currently on CF6.1, and wanting to upgrade I
do not want to buy 7 now then have 8 come out directly after. That's what
happened to us when we upgraded from 4.5 to 6, two months later 7 came out
and they would not give us a break on an upgrade to 7.

Just curious.

Sam read more about Cold Fusion 8


Message from ll
Most recent post: 4/27/2007
2 authors and 4 replies.

Hi,
I am working with a page that has both CFFORM elements and 'plain
html' form elements. In particular, I am needing to validate my
textarea form field and my email text field. On one of my html pages,
I have been using a great JAVAscript validation script; however, I am
wondering if I can use that in a Cold Fusion page? I have included the
JAVAscript I'd been using before.
Thanks for any help you can provide,
Regards,
Louis

In the CFFORM tag, I included this call:
<CFFORM action="#cgi.script_name#" method="Post" name="NewItemForm"
onSubmit="return checkWholeForm(this)" >


The JAVAscript in the head is listed below:
-----
<script language="JAVAScript">
// news headline/email subject
function checkEmailSubject (strng) {
var error="";
if (strng == "") {
error = "Please enter an Email Subject/News Headline.\n\n";

}

// news/email content
function checkContent (strng) {
var error="";
if (strng == "") {
error = "Please enter Email/News Content.\n\n";

}

// email
function checkEmail (strng) {
var error="";
if (strng == "") {
error = "Please enter your email address.\n\n";

}

//filter for ou/ouhsc domains
var emailFilter2=/.@xxxxxxxxxxx(ou|ouhsc)\.edu$/i
if (!(emailFilter2.test(strng))) {
error="Please enter a valid email address with either ou or ouhsc
domain.\n\n";
}
//end domain filter

var emailFilter=/^.+@xxxxxxxxxxx+\..{2,3}$/;
if (!(emailFilter.test(strng) read more about JAVAscript validation in CF


Message from Marcel
Most recent post: 4/19/2007
2 authors and 2 replies.

I run Windows Server 2003 Web Edition and Cold Fusion MX server with no
problems. I host about 15 company websites coded in Cold Fusion. One
company wants me to host their site but they want their pages built
with ASP.NET.

Can I run ASP.NET and Cold Fusion concurrently on IIS? Will there be a
problem or could it interfere with the smooth operation of my other
Cold Fusion sites?

Thanks.

Louis read more about Running ASP.NET and Cold Fusion concurrently on IIS?


Message from Carol
Most recent post: 3/25/2007
3 authors and 3 replies.

I've a very simple page that shows a list of names and links to
a .pdf file associated to each name. The code is below. When a user
clicks on the "Save" button, I'd like them to get the popup box
that asks if they want to save or open the document; however, I can not
get that to work - it just opens the .pdf.

It has to be something really easy...can someone help? I have been
having one of those days...I should probably just go home.

thanks!

<!--- get list of PDFs --->
<CFOUTPUT query="candidateFiles">
<!--- split the file names into usable output --->
<CFSET LastName = #GetToken(name, 1, "_")#>
<CFSET FirstName = #GetToken(name, 2, "_")#>
<CFSET FirstName = #GetToken(FirstName, 1, ".")#>
<tr>
<td id="listData">
#LastName#, #FirstName#
</td>
<td id="listData">
<a href="#hrefPath##name#" title="#FirstName# #LastName#
Nomination Package" target="_blank">
<img src="../images/iconOpen.gif"
border="0" />
</a>
</td>
<td id="listData">
<a href="#hrefPath##name#"><img src="../images/iconSave.gif"
border="0" />
</a>
</td>
</tr>
</CFOUTPUT> read more about Stupid question: give user pop-up box to open or save file


Message from miriam.goldman
Most recent post: 3/5/2007
2 authors and 2 replies.

Hi;

I'm running ColdFusion 6.1, and am trying to create a CFCHART. When I try to
output the graph, no errors are thrown, but my image is broken. This
leads me to believe that it has to do with mapping issues (not
syntactical errors), especially due to the CFIDE directory (where the
image is being written to) being a security hole.

Is there a way to overwrite the path that the CFCHART output gets
written to? If so, does this have to be done on the server-side, or is
there a way for me to implement it within my code?

Thanks in advance;
-Miriam read more about Issue with CFCHART


Message from Funkadyleik Spynwhanker
Most recent post: 2/26/2007
4 authors and 4 replies.

Anybody using ColdFusion 4.5 server on IIS 6.0?

My company folks do not want to upgrade (at 1,000s of $ I do not blame them)
but need to be on IIS 6.

Does it work? If so, any issues with it? read more about ColdFusion server 4.5 on IIS 6.0


Message from babyG
Most recent post: 2/26/2007
4 authors and 7 replies.

Hi

I can not be the only one who has met this scenario???

I've developed an application. It needs to be uploaded onto various
customer's servers (so they own the SQL server database). I can just
upload the files onto each customer's server and be done with it
however..........I don't want them to have the code and therefor resell the
application.

My first thought was to just host all of the 'include' files so that
they have to get much of the data from me --- CFINCLUDE cannot pull in
from another server

I then tried CFHTTP which almost works --- they have the same file
structure but each page pulls in the code from my server. Problem is
the code runs on my server and returns the data - from my database - so
I cannot use their sql servers.

I am sure there is a solution but I'm not seeing it currently.Bottom line -- I can not have customers putting my files onto a cd &
selling it-- cutting me out!!!Dave read more about Architecture problem


Message from Carol
Most recent post: 2/26/2007
3 authors and 3 replies.

I've an online form that has a deadline of the 2nd Friday in April
of every year. That deadline is output on the form, and I want to use
it to show/hide the link to the form as necessary.

I think I know of a clunky, LONG way of doing this but am hoping
someone has a better solution, especially since I have not been able to
make it work so far.
Thanks. read more about find the date of the 2nd friday in april for any given year


Message from John Russell
Most recent post: 2/25/2007
3 authors and 3 replies.

I've an HTML form that I need to white a Cold Fusion form handler for, but
I am lost as how to do that. Anyone know of any good tutorials on the web on
Cold Fusion form handlers?

Thanks,

JC read more about Cold Fusion form handler


Message from salsaevery
Most recent post: 2/13/2007
2 authors and 6 replies.

OK, here's my problem.
I need to select distinct(membership_number) from the database then
sum(amount) each person's various financial contributions.... then I need to
display these contribution totals in order descending. Sounds simple, and
it should be. But I can not figure it out.

What's the secret? I have tried arrays, lists and querying a query. I can not
get it to work.

Thanks for your help.
Rob read more about Complex Query - HELP PLEASE


Message from vncntj
Most recent post: 2/13/2007
2 authors and 2 replies.

I'm creating outlook appointments from existing events with a
database. Currently I'm at record 4 and slowly making my way to
record 9000. This is my dilema. Does anyone have any suggestions, on
how I can make this process a lot easier and prevent me from hiring a
Temp.

:)
<CFQUERY datasource="BLAH" name="Events">
Select Email, Yr,Mh,Dy,Locations,EventTitle from SpecialEvents
Where Id Like 4
</CFQUERY>
<CFOUTPUT query="Events">
</CFOUTPUT>
<CFFILE action = "write"
file="C:\events\4.ics"
output =
"BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
VERSION:1.0"
<CFLOOP query="Events">


<CFFILE action="append"
file="C:\events\4.ics"
output=
"
BEGIN:VEVENT
ORGANIZER:MAILTO:#EMAIL#
DTSTART:#YR##DateFormat(MH,"MM")##DateFormat(DY,"DD")#T160000Z
DTEND:#YR##DateFormat(MH,"MM")##DateFormat(DY,"DD")#T170000Z
LOCATION:#LOCATIONS#
SUMMARY:#EVENTTITLE#
END:VEVENT
"
</CFLOOP>



<CFFILE action="append"
file="C:\events\4.ics"
output=
"END:VCALENDAR"


read more about loop on CFILE statement


Message from me
Most recent post: 2/4/2007
3 authors and 4 replies.

I am writting a site using cf7 and dreamweaver 8. Database tables are
access 2003.
wrote in message a query that pulls data from table B that takes only information
that is related to a selection from query A. I run the query, select an
entry from table A and it pulls related records in table B. Results are
good.

My problem is that I am trying to connect the tables to pull down list boxes
on the website form.
Pull down list A and it shows all the options from table A.. Select an item
from table A

Pull down list B and it ONLY shows records in table B that have a reference
in table A.
ex.. pull down A... select... History pull down B shows ONLY English,
American or German

Everything I've tried in dreamweaver to make the connection has failed.
Can anyone give me an idea where to start?
Thanks,
Stephen read more about CF 7 list box connections


Message from Carol
Most recent post: 2/3/2007
3 authors and 3 replies.

Hi,

I'm running CF5 and SQL version 8.0, and have the following queries:

<!--- find applicants for the current issue of GradNews --->
<CFQUERY name="getApplicants" datasource="#application_dsn#">
SELECT gna.ApplicantID, gna.FirstName, gna.MiddleName, gna.LastName,
gna.Email,
m.Department_Name AS DeptName
FROM tblGradNewsApplicants gna
INNER JOIN tblGradNewsIssues gni ON gna.PublicationID =
gni.PublicationID
INNER JOIN tblMajors m ON gna.DepartmentID = m.Department_ID
WHERE gna.ActiveYN = 1
AND gni.ActiveYN = 1
ORDER BY m.Department_Name, gna.LastName, gna.FirstName
</CFQUERY>

<CFQUERY name="qryGetArts" datasource="#application_dsn#">
SELECT ArticleID, title, coauthors, journal, volume, URL,
articledate, articleType
FROM Articles
WHERE DateSubmitted BETWEEN #CreateODBCDate(form.datefrom)# AND
#CreateODBCDate(form.dateto)#
AND ApplicantID = #getApplicants.ApplicantID#
AND articleType = 'art'
GROUP BY ArticleID, title, coauthors, journal, volume, URL,
articledate, articleType
</CFQUERY>The DateSubmitted used is today's date. There are 4 records in the
Articles table, all of which have today's date.
However, when I run my web page, I get back only one record from the
2nd query (output below). None of the records for ApplicantID=56 are
being returned.

-----output -----
Articles in Journals, Magazines, or Newspapers
Computer S read more about Query not working in browser but is working in Query analyzer


Message from research_stuff
Most recent post: 1/27/2007
2 authors and 2 replies.

I can place a CF module name into a variable.

I then place the variable into a href string. But the variable
containing the CF module name doesn't work properly. When the link is
selected, the name in the variable can not be found.

Note: The CF module name is loxated at the root level of the site.
While the link is in another CF module several folders down.
Thanks in Advance. read more about CF module in varaiable and used the href link


Message from research_stuff
Most recent post: 1/21/2007
2 authors and 2 replies.

I am running MX7. I can not remember the password for the admin page.

Other postings state the password can be changed by going into

HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\Cold Fusion\CurrentVersion\Server
and change the UseAdminPassword to 0

The above was for ColdFusion 5.

The above location isn't for MX7.

Is there a way to change the password for MX7?Thanks in advance read more about Change Admin password for MX7


Message from research_stuff
Most recent post: 1/20/2007
2 authors and 2 replies.

I am trying to have the following popup come up when a home page is
launched.
Then when the user selects the OK button, accept the result and the
home page is able to be used.
<script language="JAVAscript">

document.forms[0].ok.focus();

</script>
Thanks in Advance. read more about Popup with an OK button


Message from jhenn
Most recent post: 1/7/2007
3 authors and 3 replies.

I just recently updated my windows 2003 web server to SP1 and ran a few
hotfixes after that as well since there has been a rise in IIS attacks
towards our website. After I did this about every 6 hours the site pops
up this error. I have noticed Jrun will exceed 50 Megs of memory and all
I've to do is kill the process to bring the site back up. The version
is 6,1,0,63958 Here's an insert from default-err. log

12/21 14:41:33 error Connection reset
JAVA.net.SocketException: Connection reset
at JAVA.net.SocketInputStream.read(SocketInputStream.JAVA:168)
at JAVA.io.BufferedInputStream.fill(BufferedInputStream.JAVA:183)
at JAVA.io.BufferedInputStream.read1(BufferedInputStream.JAVA:222)
at JAVA.io.BufferedInputStream.read(BufferedInputStream.JAVA:277)
at jrun.servlet.jrpp.ProxyEndpoint.readFully(ProxyEndpoint.JAVA:530)
at jrun.servlet.jrpp.ProxyEndpoint.readFully(ProxyEndpoint.JAVA:522)
at jrun.servlet.jrpp.ProxyEndpoint.readInt(ProxyEndpoint.JAVA:540)
at jrun.servlet.jrpp.ProxyEndpoint.readRequest(ProxyEndpoint.JAVA:229)
at
jrun.servlet.jrpp.JRunProxyService.swapRunnable(JRunProxyService.JAVA:144)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.swapRunnable(ThreadPool.JAVA:320)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.swapRunnable(ThreadPool.JAVA:433)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.swapRunnable(ThreadPool.JAVA:280)
at jrunx.scheduler.WorkerThread.run(WorkerThread.JAVA:76)

A non-SQL error occurred while requesting a connection from
Cl read more about Jrun Closed Connection after Windows Updates


Message from research_stuff
Most recent post: 12/27/2006
2 authors and 2 replies.

I am trying to replace a , with a ',' (single quote comma single quote)

For example: 10/18/2006,11/15/2006 to be 10/18/2006','11/15/2006

I've tried the following:

NOTE: New_Date contains the 10/18/2006,11/15/2006

<CFSET New_DATE = #Replace(New_Date, ",", "','", "All")#>

The "','" is a Double quote followed by single quote then a comma the a
single quote then a double quote.

Thanks in Advance. read more about Replace function to replace a comma


Message from tapper_rx
Most recent post: 12/12/2006
2 authors and 3 replies.

I've moderate experience with ColdFusion but none with webservices. Now I
have the task of consuming an external service for the purpose of not
only adding data to, but also to delete and most importantly update via
a compare and append query.

I am able to add the service into the components of ColdFusion and have also
added in some basic test records. Where I am currently stuck is getting
any kind of return on all the records in a specific table/dataset.

Here is a copy of the relavent calls

- <s:element name="GetAllEmployees">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="email" type="s:string"
/>

<s:element minOccurs="0" maxOccurs="1" name="pwd" type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="dsData">
- <s:complexType>
- <s:sequence>
<s:element ref="s:schema" />
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="GetAllEmployeesResponse">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="GetAllEmployeesResult"
type="s:boolean" />

- <s:element minOccurs="0" maxOccurs="1" name="dsData">
- <s:complexType read more about CF Web Services NEWBIE question.


Message from ll
Most recent post: 11/22/2006
2 authors and 3 replies.

Hi,
I'm working with a table listing of items, some of which will have
hyperlinks. Only certain items will have the links, which will link to
a more in-depth explanation of that particular topic.

What (in CF)'d be the best way to facilitate this linking? I had
thought of putting all of the different page data into a database and
calling the appropriate title (with the link).

Also, many of the pages have duplicate data (legal notes). 'd
putting an include in a ColdFusion template be advantageous for this?

Many thanks,
Louis read more about Table with Hyperlinks


Message from ultrakit
Most recent post: 11/19/2006
3 authors and 3 replies.

Hi everyone,
I'm a newbi to ColdFusion and I've a project to work on, any help from you
would be greatly appreciated.

My scenario is I want to create 1 application with 1 hosting plan that
can be use by different domain users. So let say I've the
application built on www.main.com. I then have other domains setup:
www.user1.com, www.user2.com, www.user3.com, etc. I want them to
redirect to www.main.com. My first thought is to have all the other
domains point to the index.CFM of main.com, then the index.CFM on
main.com will be a "check" page where I check what HTTP address was
being passed and then I can assign the userID to main, ie:
www.main.com?userID=1.

Since this is just my assumptions, I'd like to know:

1. is it even possible to grab the HTTP address and redirect it from
the user page to main so that I know which domain is being typed in?

2. if Question 1 is possible, any way of doing the redirect without
changing the address on the brower's address bar? (ie, ppl won't
know they have been redirect?)

Thank you in advance!!!! read more about Multiple domain to 1 website


Message from security man
Most recent post: 11/19/2006
2 authors and 2 replies.

I've an interesting situation.
Say I've 10 users on a CFMX server serving 10 websites.
the first 6 usernames are all similar.

someuser
someuse1
someuse2
someuse3
someuse4
someuse5
otheruser
yetanother
andanother
yesanother

OK, in all the fully unique names at the end a person have have an
application.CFM work 100% in folders, subfolders, etc. On users
someuse* the application.CFM ONLY works in the domain root, if you put
an application.CFM in a folder, lets all it onlineeditor in
d:\someuser\domain\onelineeditor\application.CFM won't read, it goes
back to the application.CFM at d:\someuser\domain\application.CFM

Anyone see this before, is there a workaround, it is really causing me
some pain.

Thanks,
John read more about nested application.CFM not working properly in CFMX6.1?


Message from hourback
Most recent post: 11/16/2006
2 authors and 3 replies.

Hi, folks.

We've Cold Fusion 6.1 configured to process .html files as Cold Fusion
code.

We removed/moved a bunch of directories. We've a search appliance
that crawls through our web server. Clients perform searches through
the search appliance, click on results for non-existent pages and
arrive at URLs that shouldn't exist and see the text that was in the
old file.

To fix this we've removed .class files and rebooted the server. That
will remove whatever traces of the file, producing a 404 error when
clients click on the dead links. However, after a period of time the
pages come back. They don't physically exist in the file system