| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| I would like to know how can I destroy the current browser window. I know I can do it using JavaScript (i.e. window.close()). But that method requires a trigger such as a click or loading of the body occurring. I would like the window browser to close down as soon as the asp script has terminated. Basically my application behaves like this: 1) Main browser window (A) has a link 2) Clicking of link opens another browser window (B) 3) A form resides on browser window (B) that sends information to a database via asp. I would like browser window (B) to be destroyed as soon as the information has been sent to the database Thanks in advance Terry |
|
#2
| |||
| |||
| "Terry Murray" <tgmurray@rogers.com> wrote in message news:uYK7b.48751$mk1.14876@news02.bloor.is.net.cab le.rogers.com... > I would like to know how can I destroy the current browser window. I know I > can do it using JavaScript (i.e. window.close()). But that method requires a > trigger such as a click or loading of the body occurring. I would like the > window browser to close down as soon as the asp script has terminated. > > Basically my application behaves like this: > > 1) Main browser window (A) has a link > 2) Clicking of link opens another browser window (B) > 3) A form resides on browser window (B) that sends information to a database > via asp. > > I would like browser window (B) to be destroyed as soon as the information > has been sent to the database > > Thanks in advance > > Terry Are you familiar with Response.Redirect? Or, perhaps, Server.Execute or Server.Transfer? Might one of these apply? |
|
#3
| |||
| |||
| "McKirahan" <News@McKirahan.com> wrote in message news:klR7b.313083$Oz4.103417@rwcrnsc54... > "Terry Murray" <tgmurray@rogers.com> wrote in message > news:uYK7b.48751$mk1.14876@news02.bloor.is.net.cab le.rogers.com... > > I would like to know how can I destroy the current browser window. I know > I > > can do it using JavaScript (i.e. window.close()). But that method requires > a > > trigger such as a click or loading of the body occurring. I would like > the > > window browser to close down as soon as the asp script has terminated. > > > > Basically my application behaves like this: > > > > 1) Main browser window (A) has a link > > 2) Clicking of link opens another browser window (B) > > 3) A form resides on browser window (B) that sends information to a > database > > via asp. > > > > I would like browser window (B) to be destroyed as soon as the information > > has been sent to the database > > > > Thanks in advance > > > > Terry > > > Are you familiar with Response.Redirect? > > Or, perhaps, Server.Execute or Server.Transfer? > > Might one of these apply? > > |
|
#4
| |||
| |||
| I could be wrong but I think that all of those possible solutions cause whatever will be displayed to occur in the same browser window that initiated its call. That is, only the content would possibly change, the browser window would still be open. "McKirahan" <News@McKirahan.com> wrote in message news:klR7b.313083$Oz4.103417@rwcrnsc54... > "Terry Murray" <tgmurray@rogers.com> wrote in message > news:uYK7b.48751$mk1.14876@news02.bloor.is.net.cab le.rogers.com... > > I would like to know how can I destroy the current browser window. I know > I > > can do it using JavaScript (i.e. window.close()). But that method requires > a > > trigger such as a click or loading of the body occurring. I would like > the > > window browser to close down as soon as the asp script has terminated. > > > > Basically my application behaves like this: > > > > 1) Main browser window (A) has a link > > 2) Clicking of link opens another browser window (B) > > 3) A form resides on browser window (B) that sends information to a > database > > via asp. > > > > I would like browser window (B) to be destroyed as soon as the information > > has been sent to the database > > > > Thanks in advance > > > > Terry > > > Are you familiar with Response.Redirect? > > Or, perhaps, Server.Execute or Server.Transfer? > > Might one of these apply? > > |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.