Coldfusion/JS Popup Window Processing

Hi,
I have an application that has a link that creates a popup window so the user can log in (create session variables) and continue.  The window is created with a very short JavaScript (see below).

I assume I can process this window like any other CF page.  When completed, I'd like to reload the "original" page with the popup window dismissed (start over again) as the user will now be logged in (with session variables).

How do I get the reload/dismiss to happen?

Thanks for your help in advance,
hefterr
function tooltip_window12(url_anchor) {
  SmallWin = window.open('store-save.cfm' , 'HelpWindow','scrollbars=yes,directories=no,toolbar=no,location=no,menubar=no,resizable=yes,height=400,width=760,x=200,y=100');
  if (window.focus) {
    SmallWin.focus();
  }
  if (SmallWin.opener == null) SmallWin.opener = window;
  SmallWin.opener.name = "PUMain";
  }

Open in new window

LVL 1
hefterrAsked:
Who is Participating?

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

x
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.

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
hefterrAuthor Commented:
Hi leakim971,
Sure looks like the same thing I sam trying to do.  I'll have to try it out to see if it works for me.

Thanks,
hefterr
0
hefterrAuthor Commented:
Works great Thanks!
0
leakim971PluritechnicianCommented:
Good news! Thanks for the points! Have a nice week-end!
0
hefterrAuthor Commented:
Hi leakin971,
I know it's been awhile but i have a small question:

Q:  does it matter where in the page the script is located physically in the popup login window?

In the referenced case (on a successful login) the Browser will be returned with the script in line in the BODY after the FORM.  I'm not a JS guru so is this OK DOM wise?

hefterr
0
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.