<%@ LANGUAGE=VBScript %>
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</head>
<body bgcolor="#ffffff">
<font face="Verdana" size="5">The Missing QueryString</font><p>
<table cellspacing=0 cellpadding=10 border=1><tr>
<td>
<font face="Verdana" size=2><b>Send using <br>"<font color=#aa0000>Post
</font>" method.<p>
<form method="post" action="frames.asp" name="SearchFormPost">
Name:<br><input name="UserName" value="John Doe"><p>
SSN:<br><input name="UserSSN" value="010-880-0000"><p>
Phone:<br><input name="UserPhone" value="555-7199"><p>
<input type="submit" name="submit" value="Submit">
</form>
</font>
</td>
<td>
<font face="Verdana" size=2><b>Send using <br>"<font color=#aa0000>Get
</font>" method.</b></p>
<form method="get" action="frames.asp" name="SearchFormGet">
Name:<br><input name="UserName" value="John Doe"><p>
SSN:<br><input name="UserSSN" value="010-880-0000"><p>
Phone:<br><input name="UserPhone" value="555-7199"><p>
<input type="submit" name="submit" value="Submit">
</form>
</font>
</td>
</tr></table>
</body>
</html>
Figure 2 Frames.asp
<%@ LANGUAGE=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<frameset rows="75,*" bordercolor=#000000 border=4>
<frame src="header.asp" frameborder=none></frame>
<frame src="receiver.asp?<%=Request.QueryString%>" frameborder=none></frame>
</frameset>
</HTML>
Figure 3 Header.asp
<%@ LANGUAGE=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY bgcolor=#ffffcb>
<FONT face="verdana"><STRONG>Is it here?</STRONG></FONT>
</BODY>
</HTML>
Figure 4 Receiver.asp
<%@ LANGUAGE=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<script language="JavaScript">
<!---
function Linker(URL)
{
window.parent.frames[0].location=URL
}
//-->
</script>
</HEAD>
<BODY bgColor=#ffffff>
<font face="verdana" size=2>
<b>Form Collection - </b><br>
<font color=#aa0000><%=Request.Form%></font>
<p>
<b>QueryString - </b><br>
<font color=#aa0000><%=Request.QueryString%></font>
<p>
</font>
<p><FONT face="verdana" size=2><a href="sender.asp" target="_parent">
[ Do it again! ]</A> </FONT></P>
<p>
<FONT face="verdana" size=2>
<a href="newdoc.htm" onclick="Linker('newhead.htm');">[ Change two frames! ]</A>
</FONT>
</P>
</BODY>
</HTML>