PDA

Click to See Complete Forum and Search --> : Passing Long String


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

monte96
Nov 10th, 2000, 10:03 PM
Try using this:
<TEXTAREA Style="visibility: hidden" ID=txtMyText name=txtMyText>
You can put your text in here and use a form to submit it to the next page. It should not be visible but will transfer to the next page.
</TEXTAREA>

lenin
Nov 11th, 2000, 11:35 AM
Thanks Monte96