conjurer111
Programmer
Hi,
I have an ASP page where in I'm having a select case structure. For all cases excepting one, the page submits to itself where as for one particular case, I do a response.redirect to another ASP page. The problem is that I need to open the called page in a new window rather than it overlapping the same window. I can't seem to figure out how to pass the target frame for the new window. Any workarounds to this issue ? Thanks.
Following is the code -
I have an ASP page where in I'm having a select case structure. For all cases excepting one, the page submits to itself where as for one particular case, I do a response.redirect to another ASP page. The problem is that I need to open the called page in a new window rather than it overlapping the same window. I can't seem to figure out how to pass the target frame for the new window. Any workarounds to this issue ? Thanks.
Following is the code -
Code:
<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<FORM NAME="theForm" METHOD="post" ACTION="schemewise.asp">
<%
if Request.Form.Count =0 then
session("fla")=1
end if
flag = session("fla")
Select case(flag)
Case 1
session("fla")=2
response.write(flag)
Case 2
session("fla")=3
response.write(flag)
Case 3
session("fla")=4
response.write(flag)
Case 4
session("fla")=5
response.write(flag)
Case 5
response.redirect ("../reports/nonplan_default1.asp")
End Select
%>
<BODY>
<br><br><br><br><br>
<P><INPUT id=submit1 type=submit value=Submit name=submit1></P>
</BODY>
</HTML>