If it was me, I would fool the start.cfm page like this.
On your start.cfm page at the very top add this...
<cfif IsDefined("SetURLid")>
<cfset url.id = SetURLid>
</cfif>
Then your includes page would look something like this.
<cfset SetURLid = 10>
<cfinclude template="start.cfm" >
<cfset SetURLid = 11>
<cfinclude template="start.cfm" >
<cfset SetURLid = 12>
<cfinclude template="start.cfm" >
<cfset SetURLid = 13>
<cfinclude template="start.cfm" >
-----Original Message-----
From: Nate Barnes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 19, 2008 1:40 PM
To: CF-Newbie
Subject: CFINCLUD with variables
I have a single page driven by the url stringquery:
start.cfm?id=10
start.cfm?id=11
start.cfm?id=12
start.cfm?id=13
I have been asked to create one page with all four of these on it for
users to print. I am somewhat familiar with cfinclude so I tried:
<cfinclude template="start.cfm?id=10" >
It does not work and I believe it is based on the Coldfusion seeing this
as the file name rather than the stringquery. Is there a way to use the
stringquery with CFinclude or should I be looking at something else
(cfmodule)?
Thanks,
Nate Barnes
Falmouth Schools
Falmouth, ME
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3324
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15