If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Frame problems with Response.Redirect

Hi there!

This is my problem:

I have an ASP page (page1.asp) that consists of two frames (one upper and
one lower frame). In the lower frame there is a form that is submitted by
the user, when this form is submitted a new ASP page (page2.asp) is called
(without any HTML). In the end of page2.asp I have a Response.Redirect to
page3.asp. The problem is that I still can see the upper frame from page1.asp
after the Response.Redirect. Page3.asp is loaded in the same frame that I
submitted the form from (which is very logical). This is not what I want
to do though, I want page3.asp to appear "alone" in the browser window, that
is, I don't want the upper frame from page1.asp to be there after the Response.Redirect

Please, can anyone tell me how to achive this, I would be very greatful for
help

Re: Frame problems with Response.Redirect

add the attribute "target" and give it a value of "_top" to your form tag

i.e.
<form name=form1 target="_top" action="page2.asp" method="POST">

"John" <john70@hotmail.com> wrote:
>
>Hi there!
>
>This is my problem:
>
>I have an ASP page (page1.asp) that consists of two frames (one upper and
>one lower frame). In the lower frame there is a form that is submitted by
>the user, when this form is submitted a new ASP page (page2.asp) is called
>(without any HTML). In the end of page2.asp I have a Response.Redirect to
>page3.asp. The problem is that I still can see the upper frame from page1.asp
>after the Response.Redirect. Page3.asp is loaded in the same frame that
I
>submitted the form from (which is very logical). This is not what I want
>to do though, I want page3.asp to appear "alone" in the browser window,
that
>is, I don't want the upper frame from page1.asp to be there after the Response.Redirect
>
>Please, can anyone tell me how to achive this, I would be very greatful
for
>help
>
>****PLEASE RESPOND TO THE NEWSGROUP *************
>
>Regards
>John