response.write _
& "<" & "script>window.top.location.replace('some.asp');</" & "script>"
response.end
I usually create a method for this, that way I can also send an alert
dialog easily. :)
beyond this, location.replace, takes the current page out of browser history.
which can be good, and better than the redirect, which creates a stack.
Remie Bolte wrote:
you should use javascript to accomplish that:
response.write "<scr" & "ipt>
document.frames['myframe'].location.href='somelocation.asp'</scr" & "ipt>"
regards
remie bolte
----- Original Message -----
From: "Steve Abaffy" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 6:11 PM
Subject: Redurect to top of frameset
Hello,
I have a page in frames, and when certain conditions are true, I want to
redirect to the top of the frame set is there away to do that with the
response.redirect command somthing like
response.redirect "fileName target=_top"
---
You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%
---
You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
To unsubscribe send a blank email to %%email.unsub%%
.
--
-----------------------------------------------------------------------
Michael J. Ryan | ICQ: 4935386
tracker1(at)theroughnecks(dot)com | AIM/AOL: azTracker1
Roughneck BBS: | Yahoo: azTracker1
http://www.theroughnecks.net | MSN: (email address)
telnet://theroughnecks.net | Trillian: www.trillian.cc
---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]