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">
<h1>You have been logged out</h1>
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?
Copy link to clipboard
Actually I think I have just figured out a way to do what I want to do. The only thing I don't like is that it is still prompting the user to ask whether they want to close the window or not. If they are clicking on the link the way I have it setup, they have already said they want to close the window. I know that generally windows will prompt if the code is closing the window, But in this case by making the link say close window I think the user should understand that they are closing the window.
I just figured out what I needed to do on my own based on how I am doing this.
I modified the "Close Window" Link to that is calling a close.html when it it clicked
Then close.html is running this command
This is giving me the behavior I am looking for.
I answered my question myself, I should have been more patient.