With client-side code, such as top.<target>.location.href= ...
ASP is on the server and does not "see" frames.
Instead of response.redirect, use code like this:
<% url = "http://example.com/" response.write("<script>" & vbCrLf) response.write("targetframename.location.replace('" & url & "');" & vbCrLf) response.write("</script>") %>Or this:
<% url = "http://example.com/" response.write("<script>" & vbCrLf) response.write("targetframename.location.href='" & url & "';" & vbCrLf) response.write("</script>") %>
response.redirect("javascript:framename.location.href='wherever';")
<form method="post" action="page.asp" target="framename">