PDA

Click to See Complete Forum and Search --> : Response.redirect and frames


Sep 21st, 2000, 01:22 PM
In my application, there is a main page calling another page with 2 frames (each linking to say 1.asp and 2.asp).

1.asp has a response.redirect to 3.asp.

The problem is after it has been redirected to 3.asp, all I get is 2 frames showing 3.asp and 1.asp.


Could anyone let me know how to remove the 2.asp frame and display just 3.asp?

Thanx!

monte96
Sep 21st, 2000, 01:45 PM
Try this instead:


Response.Write "<SCRIPT language='JavaScript'>"
Response.Write "window.parent.parent.location.href='page.asp';"
Response.Write "</SCRIPT>"
Response.End

Sep 21st, 2000, 01:55 PM
Monte, Thank You so much.

I really appreciate your helping me in my first web application.