473,387 Members | 3,810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

window.opener....

In my web based application I am opening the search window using
window.open(Url,UniqueName,....).

Once the search is complete I am setting the value back using
window.opener(...).

We are allowing the user to login multiple sessions in the same PC. I am
using session Id to open the window with unique name.

My question is do I have to code for this uniqueness while using the
window.opener().

How exactly the data will get posted back to the parent window when the two
parent windows (because of multiple logins) launched the search window.

Is there any thing I should take care?

Thanks,

Bill
Nov 18 '05 #1
3 1582
A browser window can only have ONE opener: That is the browser window which
spawned the new window using the JavaScript window.open() method. It doesn't
matter how many browser instances are running. And it has nothing to do with
the name of the instance. It has everything to do with the browser window
that spawned the window. That's why it's called "opener" rather than a name.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Bill Smith" <Bi****@hotmail.com> wrote in message
news:eL**************@TK2MSFTNGP11.phx.gbl...
In my web based application I am opening the search window using
window.open(Url,UniqueName,....).

Once the search is complete I am setting the value back using
window.opener(...).

We are allowing the user to login multiple sessions in the same PC. I am
using session Id to open the window with unique name.

My question is do I have to code for this uniqueness while using the
window.opener().

How exactly the data will get posted back to the parent window when the two parent windows (because of multiple logins) launched the search window.

Is there any thing I should take care?

Thanks,

Bill

Nov 18 '05 #2
Kevin,
Thanks for your reply. I really appreciate the way you analyse and answer
the question. Thank you very much.
Bill
"Kevin Spencer" <ks******@takempis.com> wrote in message
news:#n*************@TK2MSFTNGP11.phx.gbl...
A browser window can only have ONE opener: That is the browser window which spawned the new window using the JavaScript window.open() method. It doesn't matter how many browser instances are running. And it has nothing to do with the name of the instance. It has everything to do with the browser window
that spawned the window. That's why it's called "opener" rather than a name.
--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Bill Smith" <Bi****@hotmail.com> wrote in message
news:eL**************@TK2MSFTNGP11.phx.gbl...
In my web based application I am opening the search window using
window.open(Url,UniqueName,....).

Once the search is complete I am setting the value back using
window.opener(...).

We are allowing the user to login multiple sessions in the same PC. I am
using session Id to open the window with unique name.

My question is do I have to code for this uniqueness while using the
window.opener().

How exactly the data will get posted back to the parent window when the

two
parent windows (because of multiple logins) launched the search window.

Is there any thing I should take care?

Thanks,

Bill


Nov 18 '05 #3
Well, thank YOU Bill. I'm not sure everyone appreciates my style, but I
appreciate your kindness!

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Bill Smith" <Bi****@hotmail.com> wrote in message
news:eL**************@TK2MSFTNGP11.phx.gbl...
Kevin,
Thanks for your reply. I really appreciate the way you analyse and answer
the question. Thank you very much.
Bill
"Kevin Spencer" <ks******@takempis.com> wrote in message
news:#n*************@TK2MSFTNGP11.phx.gbl...
A browser window can only have ONE opener: That is the browser window

which
spawned the new window using the JavaScript window.open() method. It

doesn't
matter how many browser instances are running. And it has nothing to do

with
the name of the instance. It has everything to do with the browser window that spawned the window. That's why it's called "opener" rather than a

name.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Bill Smith" <Bi****@hotmail.com> wrote in message
news:eL**************@TK2MSFTNGP11.phx.gbl...
In my web based application I am opening the search window using
window.open(Url,UniqueName,....).

Once the search is complete I am setting the value back using
window.opener(...).

We are allowing the user to login multiple sessions in the same PC. I am using session Id to open the window with unique name.

My question is do I have to code for this uniqueness while using the
window.opener().

How exactly the data will get posted back to the parent window when the
two
parent windows (because of multiple logins) launched the search

window.
Is there any thing I should take care?

Thanks,

Bill



Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Renuka | last post by:
I have a confirmation page with an OK button. If this window has an opener then this browser window needs to go to another URL or else the window must close. Thus I have the following javascript...
1
by: fogwolf | last post by:
First a basic outline of what I am trying to do: I want to have a page spawn a pop-up when you click "submit" on its form. On this pop-up page there will be another form. When you click "submit"...
2
by: Robert Nurse | last post by:
Hi All, I'm trying to alter the contents of a drop-down (select) list on the parent window from a child window in IE 6. After opening the child window, I set its opener to reference the parent...
2
by: JPL Verhey | last post by:
(i hope somebody (else) will read and have an idea! Thnx) Hi, With a script in a popup window, I want to check if certain content is present in a page loaded into the frame "main" of the...
19
by: Darren | last post by:
I have a page that opens a popup window and within the window, some databse info is submitted and the window closes. It then refreshes the original window using window.opener.location.reload(). ...
5
by: Hemanth | last post by:
Hello there, I'm running a script that opens a popup window (which is basically a form with checkboxes and a submit button). When I click the submit button I want to run a PHP script and target...
4
by: louise raisbeck | last post by:
I have this scenario (simplified) function addnewdata () { check for partial match already in db for information entered by user if (partialmatch succeeds) { open new window aspx page (using...
4
by: Phil Powell | last post by:
I thought this would work but it seems to not work neither in Netscape nor in IE: <script type="text/javascript"> <!-- // OBTAINED FROM http://www.javascripter.net/faq/settinga.htm //...
5
by: asadhkhan | last post by:
I have the following code which works correctly in IE 6, but in IE 7, Fire Fox 2.0 and Netscape 8 it does not work. I have a main page where a button calls this pop-up and uploads a file once you...
1
by: jerkyjerk | last post by:
Ei guys..newbie in programming..just want to ask how will I compare the contents of particular cell of the table(from parent window) to the contents of a cell of the table (child window)? how will I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.