You can't pass variables to an include page. The include page will act as if the code in that page was typed directly into the file that has the <cfinclude> You can set up the variables before the include page is included and those variables are available to the code in the include page.
Mike ----- Original Message ----- From: "Paul Ihrig" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, February 14, 2002 7:44 AM Subject: cfinclude, who to pass for variables to? hello all. just curious how i would pass form to a n included page. say verity i have an cfinclude search field on the top of all my pages. i cfinclude the results page in small box on all my pages how do i pass the search info to the results page? normally i would just select the result page in my form tag. but this doesn't seem to work if that page is used in an include. thanks a bunch ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

