Hi Folks
I am working on a forum for a customer and I am having problems passing a url variable;
This the code i have on a search page
<cfelseif cgi.http_referer contains 'forumViewMessages'><cfset linktext = 'Forum Postings/Replies Page'><cfset lastpage = 'forumViewMessages.cfm?#linkVariables#'>
</cfif>
<cfoutput>#lastpage#</cfoutput>
<cfabort>
the output on the page when i run this is;
forumViewMessages.cfm?topicID=284&catID=8&category=Bird Breeding
When the form is submitted to the results page;
<form name="form1" method="post" action="forumsearchresults.cfm?lastpage=<cfoutput>#lastpage#</cfoutput>">
it shows in the status bar that ALL the variables are being passed, so up to here is OK.
Where my problem starts is when i get to the results page and when i run;
<cfoutput>#url.lastpage#</cfoutput>
<cfabort>
on that page the output page shows just;
forumViewMessages.cfm?topicID=284
Can anyone please explain or give me a reason why the whole string is not being passed. Does it have anything to do with the ampersand after the topicID (topicID=284&)
Your help would be greatly appreciated
thanks in advance
Grabit