Results 1 to 3 of 3

Thread: Response.redirect and frames

  1. #1
    Guest
    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!



  2. #2
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    Try this instead:

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

    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  3. #3
    Guest
    Monte, Thank You so much.

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width