Hi,
I'd like to know if this is possible. Can an ASP page return a result into a frameset page? I currently have the code below. It connects to a database and upon verification, the name of a file is returned. If it is a word document that is returned, i want it to appear in the far left frame (so in the case of the frameset file below, that would be in the NavigationFrame.htm). Below is the code for my asp file.
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<%
set x = server.CreateObject("Project1.Class1"
Message = x.Validate(Request.Form("Name",Request.Form("password")
WholeMessage = Message
DisplayMessage = right(Message,3)
if DisplayMessage = "doc" then%>
<%=DisplayMessage%>
<%
else%>
<%=WholeMessage%><%
end if%>
</BODY>
Below is my current frameset file:
<html>
<frameset cols="25%,50%,25%">
<frame src="NavigationFrame.htm">
<frame src="tryhtml_frame_b.htm" NAME="MiddleFrame">
<frame src="tryhtml_frame_c.htm" NAME="RightFrame">
</frameset>
</html>
Is this possible?? Of would there be a better way?
I'd like to know if this is possible. Can an ASP page return a result into a frameset page? I currently have the code below. It connects to a database and upon verification, the name of a file is returned. If it is a word document that is returned, i want it to appear in the far left frame (so in the case of the frameset file below, that would be in the NavigationFrame.htm). Below is the code for my asp file.
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<%
set x = server.CreateObject("Project1.Class1"
Message = x.Validate(Request.Form("Name",Request.Form("password")
WholeMessage = Message
DisplayMessage = right(Message,3)
if DisplayMessage = "doc" then%>
<%=DisplayMessage%>
<%
else%>
<%=WholeMessage%><%
end if%>
</BODY>
Below is my current frameset file:
<html>
<frameset cols="25%,50%,25%">
<frame src="NavigationFrame.htm">
<frame src="tryhtml_frame_b.htm" NAME="MiddleFrame">
<frame src="tryhtml_frame_c.htm" NAME="RightFrame">
</frameset>
</html>
Is this possible?? Of would there be a better way?