I have central authentication service that I am dealing with that requires
me to go out to a central web server using a recursive call to my
authentication index page. I call the authentication index page with
cf_returnfuseaction. The problem is that in the round trip between the
external authentication server and my authentication index page the
variables needed for the returnfuseaction are lost and I get returned to the
web root. Is there away to work around this problem by saving the needed
variables in a client variable and reconstituting the needed
request/attributes variables? What variables are needed?
The funny thing about this problem is that the application works properly on
a PC where Studio is running, but it will not work on any other PC.
<<Calling template>>
<cf_returnfuseaction
action="set"
returnurl="#cgi.path_info#?#request.attributeslist#"
gotourl="security/index.cfm">
</cfif>
<<Responding template which is call recursively by the cflocation below.>>
<cfinclude template="../app_globals.cfm">
<cfinclude template="app_locals.cfm">
<CFIF isdefined("cookie.webauth")>
<CF_Execute NAME="C:\winnt\system32\verify.exe"
ARGUMENTS="-h:zzz.asu.edu -c:#cookie.asuwebauth# -b:#CGI.REMOTE_ADDR#"
TIMEOUT="10" var="webauthReturn">
<cf_returnfuseaction
action="return">
<CFELSE>
<CFLOCATION
url="https://aaaaa.asu.edu/cgi-bin/login?callapp=#request.localindex#" <---
Call this template again. I can add parameters here if needed. -->
<addtoken="No">
</CFIF>
Russell Mohn
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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