473,402 Members | 2,072 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,402 software developers and data experts.

Window.open destroys my parent session values

Hi,
When a open an asp page from a modal window through window.open, my
session values of parent(the screen that invoked the modal window) are
lost.
Please this is urgent.

Jun 7 '06 #1
3 6126
ha***********************@gmail.com wrote:
Hi,
When a open an asp page from a modal window through window.open, my
session values of parent(the screen that invoked the modal window) are
lost.
Please this is urgent.


Provide a small example that illustrates this problem, please. No need
to post your entire pages. Just the bits needed to illustrate what's
happening.

The main reason I ask is because window.open does not open a modal
window. You would need window.ShowModalDialog for that.

Also provide details about which browser demonstrates this behavior.

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jun 7 '06 #2
Do you mean that your sequence is something like

original.asp:-> window.ShowModalDialog("xyz.asp"), then on
xyz.asp:-> window.open("anotherpage.asp")

and that on anotherpage.asp you have no access to Session("") variables set
on original.asp?

If yes, you'd better reconsider the dialog flow in your design, or you may
have to deal the issue with a handle to opener window (and hidden fields in
there).

/pexi

<ha***********************@gmail.com> wrote in message
news:11*********************@i39g2000cwa.googlegro ups.com...
Hi,
When a open an asp page from a modal window through window.open, my
session values of parent(the screen that invoked the modal window) are
lost.
Please this is urgent.

Jun 7 '06 #3

Pexi wrote:
Do you mean that your sequence is something like

original.asp:-> window.ShowModalDialog("xyz.asp"), then on
xyz.asp:-> window.open("anotherpage.asp")

and that on anotherpage.asp you have no access to Session("") variables set
on original.asp?

If yes, you'd better reconsider the dialog flow in your design, or you may
have to deal the issue with a handle to opener window (and hidden fields in
there).

/pexi

<ha***********************@gmail.com> wrote in message
news:11*********************@i39g2000cwa.googlegro ups.com...
Hi,
When a open an asp page from a modal window through window.open, my
session values of parent(the screen that invoked the modal window) are
lost.
Please this is urgent.

Yes, I call Window.open and do a form.submit to an asp page.
Also i am not able to access the session variables when i have opened
more no of IE windows or a IE window that i have been using other than
my application.

Is there a way that can i do form submit to modal window.
Also explain me regarding Opener and windows handler

Thanks for Pexi and Bob

Jun 12 '06 #4

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

Similar topics

7
by: Bilal | last post by:
Hi, I have a web application that operates on several windows. Each window is named win_1, win_2, win_3,... . When I quit a session, I usually loop through all the windows and close one by one. So...
4
by: Davey | last post by:
I have a website which has a popup window (this only opens when the user chooses to open it). In the popup window I have a <select> control which lists a selection of "classes". Each class has a...
3
by: Michelle Stone | last post by:
hi al i have "variab1 = window.open ("a.aspx", "helloworld"); i do this inside a RegisterStartupScrict ("key", "<script language=javascript>******</script>"); where ***** is hte javascript...
1
by: Earl Teigrob | last post by:
I did a ton of searching to try and find a simple solution to this issue and finally wrote my own, which I am sharing with everyone. In my searching, I did find a very complete and robust solution at...
5
by: John Scott | last post by:
Ok..this a rather odd question/problem. I haven't really found a straight forward answer to how to handle this scenario, so I hope someone here can help. Here it is: I have an application...
0
by: harikrishnan.kamalakannan | last post by:
Hi, When a open an asp page from a modal window through window.open, my session values of parent(the screen that invoked the modal window) are lost. Please this is urgent.
2
by: epaetz | last post by:
Is there a way to decouple the linkage between a parent and a child window? Does the parent window have any sort of a collection that holds all the children that it has spawned? I want to...
0
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi just wondering if anyone knows if there is a way to tell if a child window is still open in the code behind in the parent window (web application vs.net 2005)? I have a web app and am using the...
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: 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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.