oleung
Posts: 15
|
| Posted: 02/16/2005, 2:54 AM |
|
Hi all,
It would be great if someone can show me how to add URL parameters in CF by calling function.
Thanks.
|
 |
 |
E43509
Posts: 283
|
| Posted: 03/01/2005, 10:18 PM |
|
This may help you, here is a code snippet from one of my projects:
I put this code in an event. to create something like:
questions.cfm?ques_pk=4&s_ques_num=10
<CFMODULE Template="..\CCAddParam.cfm" strQueryString="#CCGetQueryString#" strName="QUES_PK" strValue="#copy_ques_pk#" outputVar="CCGetQueryString">
<CFMODULE Template="..\CCAddParam.cfm" strQueryString="#CCGetQueryString#" strName="s_QUES_NUM" strValue="#copy_ques_num#" outputVar="CCGetQueryString">
<CFSET strRedirect = "Questions.cfm">
<CFSET strRedirect = strRedirect & "?" & CCGetQueryString>
I stole this code by looking at how CCS generated something similar, so I override their data and put in mine
|
 |
 |
|