lenin
Nov 10th, 2000, 09:50 AM
Hi,
I need to pass a very ( > 1000 chars ) string from one ASP page to another. I tried embedding the string into a querystring but didn't recon on the string size restriction. How can I pass the string to another ASP page via a hyperlink, apart from using cookies or session variables. At the moment I have
Check for Records in the Array
if isarray(vRecordArray) then
if UBound(vRecordArray, 2) >= 0 then
'-- Cycle through records
For lngIndex = 0 to UBound(vRecordArray, 2)
Detail_Summary = left(vRecordArray(DETAIL, lngIndex), 20)%>
<tr>
<td><font face="Arial"><A HREF="http://localhost/HBM/ASPSource/News/NewsDetails.asp?Headline=<%=vRecordArray(HEADLINE, lngIndex)%>&Detail=<%=vRecordArray(DETAIL, lngIndex)%>"><%=vRecordArray(HEADLINE, lngIndex)%></font></td>
<td><font face="Arial"><%=Detail_Summary%></font></td>
</tr>
<%Next
else
Response.Redirect ("http://localhost/HBM/ASPSource/ErrorPage.asp?Error_Message=ARRAY_EMPTY")
end if
else
etc.
Any help greatly appreciated.
Lenin
I need to pass a very ( > 1000 chars ) string from one ASP page to another. I tried embedding the string into a querystring but didn't recon on the string size restriction. How can I pass the string to another ASP page via a hyperlink, apart from using cookies or session variables. At the moment I have
Check for Records in the Array
if isarray(vRecordArray) then
if UBound(vRecordArray, 2) >= 0 then
'-- Cycle through records
For lngIndex = 0 to UBound(vRecordArray, 2)
Detail_Summary = left(vRecordArray(DETAIL, lngIndex), 20)%>
<tr>
<td><font face="Arial"><A HREF="http://localhost/HBM/ASPSource/News/NewsDetails.asp?Headline=<%=vRecordArray(HEADLINE, lngIndex)%>&Detail=<%=vRecordArray(DETAIL, lngIndex)%>"><%=vRecordArray(HEADLINE, lngIndex)%></font></td>
<td><font face="Arial"><%=Detail_Summary%></font></td>
</tr>
<%Next
else
Response.Redirect ("http://localhost/HBM/ASPSource/ErrorPage.asp?Error_Message=ARRAY_EMPTY")
end if
else
etc.
Any help greatly appreciated.
Lenin