> I am trying to interact with a payment processor.  Here is the problem.  I
> need to pass the urltoken in the return url. However the site I am
> interacting with changes the
> CFID=15&CFTOKEN=77027316 to
> CFID=15&CFTOKEN=77027316
> which is invalid to cold fusion.
>
> I tried UrlEncodedFormat and I got CFID%3D15%26CFTOKEN%3D77027316 which is
> also useless.  Is there anyway to recall the session variables
> with just one
> varaiable being passed?  Or is there another way to do this?

Pass it to them in one variable, like "s=15.77027316", then when it comes
back to you, split it back into the CFID and CFTOKEN in your Application.cfm
page BEFORE the <cfapplication> tag, like so:

<cfparam name="url.s" default="">

<cfif url.s CONTAINS ".">
  <cfset cfid = ListFirst(url.s,".")>
  <cfset cftoken = ListLast(url.s,".")>
</cfif>

<cfapplication ... etc... >

We use that technique to pass the cfid and cftoken in the URL without giving
away what middleware we're using.

Ron Allen Hornbaker
President/CTO
Humankind Systems, Inc.
http://humankindsystems.com
mailto:[EMAIL PROTECTED]




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to