here's the line with parameters I'm trying<br>
to pass to mailer.cfm.<br>
<br>
mailer.cfm?page_sent=#site_query.title#<br>
<br>
Keep getting errors and I'm stumped.<br>
<br>
Thanks<br>
<br>
Dave.
You could also try changing the parameter name to something without a period...<br>
<br>
<cfset SiteQuery=site_query.title><br>
<br>
If the parameter you are trying to pass is a multi-value query, you'll probably have to run the query again on the other template. I have never had any luck trying to pass queries...
There shouldn't be a problem in passing query variables. It looks fine, but what you do need to do is establish if #site_query.title# would have spaces in it or not. If yes, then you need to encode it.<br>
<br>
try: #URLEncodedFormat(site_query.title)#<br>
<br>
Also remember you will need a <cfoutput></cfoutput> around it somewhere.
Something we've noticed where I'm at is that Cold Fusion sometimes has a problem with underscores. Nothing definite - it just doesn't work well with them. Tyr changing the names to eliminate the underscore - this solved a number of problems we had.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.