Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Response.Redirect

Status
Not open for further replies.

bucky

IS-IT--Management
Feb 3, 2001
1
US
I would like to use the Response.Redirect outside the frame that I am currently working in. I would like to update two frames at the same time upon login. How do I use the Response.Redirect to do this
 
Response.Redirect tells the browser that you are redirecting it to another webpage. This function has no Target feature and therefore, cannot do what you are asking. However, you may be able to use the first page to load the second by using something as follows:

<script language=vbscript>
function LoadPage()
parent.frames(&quot;FrameName&quot;).location.href = &quot;Someasp.Asp&quot;
end function
</script>


And then on the body load event:

<body onload=&quot;LoadPage()&quot;

Hope this helps...
TazzMann

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top