Asker
asked on
ASP redirection
I have a page containing three frames. One of them uses the ASP command Response.redirect("another page.hml") . However this causes the new page to appear in that frame , where as I want anotherpage.html to appear at the top level (ie replace all the frames). How is this done??
ASKER
Didnt actually work but put me on the right track. Solution above caused anotherpage.html to appear in the frame. The way to do it is to use:
Response.write "<script>top.location='ano therpage.h tml'</scri pt>"
Response.write "<script>top.location='ano
So what do you do with the question....delete it ? give me some points for putting you on the right track ?
ASKER
Sorry, how can I do that?The page is giving me the option of grading etc.....
ASKER
Ooops, I meant the page isnt giving me the option of grading etc...
ASKER
You dont seem to have locked the question....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
IF you include in the form tag ' target="_top" ' during the redirect you will blow away your frameset and have anotherpage.html at the top. I can send sample code if you would like. james@digitalfoundry.com
ASKER
Thanks for the offer, but other solution was satisfactory.
Response.write "<script>window.location.h