Click to See Complete Forum and Search --> : open window while redirecting...


kbrown2974
01-13-2004, 11:05 AM
I am trying to open a new browser window while redirecting the current page to a new one. I am getting an error that that window object does not exist. Problem code is below:

DIM jeffwin

Set jeffwin = window.open("http://www.life-south.com/test/index.htm", "jeff")

response.redirect "jeffdisp.asp"

CardboardHammer
01-13-2004, 01:31 PM
You can't force open a new window on the client from the server side.

CardboardHammer
01-13-2004, 01:35 PM
Open the new window from the page you redirect to instead, or try a different method with similar end results.

kbrown2974
01-13-2004, 01:48 PM
I got it to work using javascript. Thanks

CardboardHammer
01-13-2004, 02:04 PM
Glad to be of help.