Closing Internet explorer window from Link in ColdFusion Page
Hello,
We have a ColdFusion application that is currently using Oracle Authentication Manager (OAM) for logging people on to the application. In the application there is a link titled "Log Off". We have been instructed by our management stop using OAM.
I have now got the application so that they are logging in using Citrix Netscaler to login in to an Internet explorer window that is exclusive to this application and the login process is working correctly. However when the "Log Off" link is clicked it is currently still redirecting to OAM for the Log Off process. This is confusing as the users are not logging in using OAM and, in the near future the OAM servers will be going away.
What I am trying to do is have the logoff page just close the internet explorer window when users click it. After doing some searches on this I have tried modifying the logoff.cfm Page to the following. (Other then a header comment this is the entirety of the logoff.cfm page)
<!--- <cfloop collection="#cookie#" item="c">
<cfcookie name="#c#" expires="now">
</cfloop> --->
ColdFusion.Window.Destroy()
<cfinclude template="_header.cfm">
<h1>You have been logged out</h1>
<cfinclude template="_footer.cfm">
<cfabort>
However, when I try clicking the link the Browser is not closing and it is still redirecting to the OAM log off page. does anyone have suggestions on how to be closing the window from the link?
Eric Lommatsch
