Home All Groups Group Topic Archive Search About

Why the images can not be loaded in the browser sometimes?



Author
18 Sep 2006 2:26 PM
cheers_ye
The source of the image is

<IMG ID=\"69\" class=\"a10\"
SRC=\"Imageprocesser.aspx?SessionID=1111&reportStream=1&ReportID=258&Histor­yID 06-09-15T18:25:25&Action=LoadSnapshot&ReportType=HTML4.0&imageExt=&im­ageWidth=&imageHeight=&useToolbar=False&htmlFragment=False&mappedPath=/kyog­a-qa/CKEmployerReports/BCBSTNReports/DiabeticMemberSummary&reportVariable_G­roupID=8&reportVariable_BasePath=/kyoga-qa&RPSessionID=nopykwuqk2nofz551tm3­0u45&ImageID=C_69_S\"/>



in the Imageprocesser.aspx.cs file, it will retrieve the image from
another server response. and use response.write() to write the image
stream to the current browser. The problem here is sometimes the image
can be loaded correctly, sometimes there is only a cross sign (meaning
the image is not loaded correctly).


I try to debug, but in stepping mode, everytime the image can be loaded

correctly. This problem only happens when i execute the program without

using debugging.


I am really confused. What could be wrong?

Author
18 Sep 2006 2:34 PM
Mike Brind
cheers***@hotmail.com wrote:
> The source of the image is
>
> <IMG ID=\"69\" class=\"a10\"
> SRC=\"Imageprocesser.aspx

This is a classic asp newsgroup.  Dotnet is a totally different
technology.  Try microsoft.public.dotnet.framework.aspnet

--
Mike Brind
Author
18 Sep 2006 4:44 PM
Jon Paal
Actually this approach will work in classic ASP.  It's a nice trick to implement the built in image handling capabilities of ASP.net
from a classic ASP page.

my guess is the problem has to do with escaping the quotes- shouldn't be necessary.


Show quote
"Mike Brind" <paxton***@hotmail.com> wrote in message news:1158590096.517601.255200@h48g2000cwc.googlegroups.com...
>
> cheers***@hotmail.com wrote:
>> The source of the image is
>>
>> <IMG ID=\"69\" class=\"a10\"
>> SRC=\"Imageprocesser.aspx
>
> This is a classic asp newsgroup.  Dotnet is a totally different
> technology.  Try microsoft.public.dotnet.framework.aspnet
>
> --
> Mike Brind
>

AddThis Social Bookmark Button