J
Jack
Hi,
I am trying to get a printer.asp page linked back to a main report page.
However, in the final url, the grantid is missing which should not be, if the
href statement is correct. I checked the correct value of grantid via
response.write and I can see the correct value. However, the href statement
cannot pick the value properly. Any help is appreciated. Thanks.
CODE:
<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY text = "red">
<center>
<b>
Printable.asp page <br>
This page is under construction.<br>
<%
GrantID = Session("sess_GrantID")
Response.Write "<br>"
Response.Write GrantID & "<br>"
Response.Write "<A HREF=""mainreportagain1.asp?GrantID="" & GrantID>Click to
return to main report page</A>"
%>
</b>
</center>
</BODY>
</HTML>
THE url of the clicked to e is:
http://localhost/gwisbrandnewready3/mainreportagain1.asp?GrantID=
while the correct url of the clicked to page will be:
http://localhost/gwisbrandnewready3/mainreportagain1.asp?GrantID=5718
I am trying to get a printer.asp page linked back to a main report page.
However, in the final url, the grantid is missing which should not be, if the
href statement is correct. I checked the correct value of grantid via
response.write and I can see the correct value. However, the href statement
cannot pick the value properly. Any help is appreciated. Thanks.
CODE:
<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY text = "red">
<center>
<b>
Printable.asp page <br>
This page is under construction.<br>
<%
GrantID = Session("sess_GrantID")
Response.Write "<br>"
Response.Write GrantID & "<br>"
Response.Write "<A HREF=""mainreportagain1.asp?GrantID="" & GrantID>Click to
return to main report page</A>"
%>
</b>
</center>
</BODY>
</HTML>
THE url of the clicked to e is:
http://localhost/gwisbrandnewready3/mainreportagain1.asp?GrantID=
while the correct url of the clicked to page will be:
http://localhost/gwisbrandnewready3/mainreportagain1.asp?GrantID=5718