Response.Write Problem
From: matthew (ma2t_at_sinaman.com)
Date: 04/30/04
- Next message: moondaddy: "Re: Search engine friendly URLs slowing up site"
- Previous message: Ken Schaefer: "Re: ASP.NET Impersonation / delegation"
- Next in thread: Ashish M Bhonkiya: "Re: Response.Write Problem"
- Reply: Ashish M Bhonkiya: "Re: Response.Write Problem"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 30 Apr 2004 12:59:00 +0800
Hi all,
I am now writing a aspx that get a session variable (string) and then write
it out using Response.Write.
The string length is: 494710.
But Response.Write only write the string partially!
I tried using following code, but it doesn't work, the page is keep loading.
if(stringcontent.Length > 500)
{
Response.Write(stringcontent.Substring(0,500));
stringcontent = stringcontent.Substring(500);
while(stringcontent.Length > 500)
{
Response.Write(stringcontent.Substring(0,500));
pagecontent = stringcontent.Substring(500);
}
}
Response.Write(stringcontent);
How I can solve it?? Thx a lot.
Matthew
- Next message: moondaddy: "Re: Search engine friendly URLs slowing up site"
- Previous message: Ken Schaefer: "Re: ASP.NET Impersonation / delegation"
- Next in thread: Ashish M Bhonkiya: "Re: Response.Write Problem"
- Reply: Ashish M Bhonkiya: "Re: Response.Write Problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|