Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Window.open destroys my parent session values

Reply
Thread Tools

Window.open destroys my parent session values

 
 
harikrishnan.kamalakannan@gmail.com
Guest
Posts: n/a
 
      06-07-2006
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.

 
Reply With Quote
 
 
 
 
Bob Barrows [MVP]
Guest
Posts: n/a
 
      06-07-2006
http://www.velocityreviews.com/forums/(E-Mail Removed) 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.


 
Reply With Quote
 
 
 
 
Pexi
Guest
Posts: n/a
 
      06-07-2006
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

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) 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.
>



 
Reply With Quote
 
harikrishnan.kamalakannan@gmail.com
Guest
Posts: n/a
 
      06-12-2006

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
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) 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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
If a class Child inherits from Parent, how to implementChild.some_method if Parent.some_method() returns Parent instance ? metal Python 8 10-30-2009 10:31 AM
Window.open destroys my parent session values harikrishnan.kamalakannan@gmail.com ASP General 0 06-07-2006 03:18 PM
not all values have corresponding parent values Jim in Arizona ASP .Net 4 08-23-2005 11:29 PM
Programmatic OleDB access destroys current Session daver@csh.rit.edu ASP .Net 6 06-30-2005 10:12 AM
Firefox Destroys my Computer margon21@hotmail.com Firefox 8 11-14-2004 10:42 PM



Advertisments