Coldfusion close popup window

program1.cfm opens popup windows program2.cfm with the below javascript code
      var popurl="program2.cfm?";,"","width=550,height=700,")

From program2.cfm I want to close program1.cfm , program2.cfm      and activate program3.cfm

To accomplish this, from program2.cfm I tried the below code but program3.cfm is opened in the popup window
            <cflocation url="contactInfoEdit.cfm" addtoken="false">

Any help would be greatly appreciated.
Errol FarroAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

The window.close() script is never executed.    That is javascript which would execute once the page has fully loaded.
The CFLOCATION is server side, it runs when the page is being processed on the server (before ever reaching the browser).   So your page is redirecting to contactinforedit before the window.close() is ever written to the page

            <cflocation url="contactInfoEdit.cfm" addtoken="false">

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ColdFusion Language

From novice to tech pro — start learning today.