What value does CF pass through the onRequest() method into
arguments.targetPage? I'm trying to set up URL obfuscation using
URL variables that are encoded with encrypt() and decrypt(). I'm
saving a CGI variable (used to log into the larger application) as
a variable called Session.ThisUser; what I want to do is encrypt
this string value and append it to the incoming URL. However, if I
do this:
<cfinclude
template="#arguments.targetPage#&x=#myEncryptedString#">
It says it can't find the included page.
I then tried this:
<cfset zVal = url.z>
<cfinclude
template="#arguments.targetPage#?z=#zVal#&x=#myEncryptedString#">
Which didn't work either.
So, what does the onRequest() method do with passed-in URL
variables, and how can I append other URL variables to outgoing
targets?
Thanks.
UPDATED QUESTION: Essentially, I would like to know the
correct syntax for adding URL variables to the arguments.targetPage
within the onRequest() method. No, it is not as straightforward as
adding a string to the end of it; that simply doesn't work. Someone
please explain. Thanks.