Home > Archive > ASP .NET > July 2007 > ie6 response.flush problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
ie6 response.flush problem
|
|
| rocco.padovani@gmail.com 2007-07-27, 4:20 am |
| Hello,
I have a problem with a response.flush code only with some versions of
IE6.
This is my code:
private void Page_Load(object sender, System.EventArgs e)
{
Response.Cache.SetExpires( DateTime.Now );
Response.CacheControl = "NO-CACHE";
Response.AddHeader( "PRAGMA", "NO-CACHE" );
Response.Clear();
string str ="<center><div id='loadingDiv' name='loadingDiv'
class='loadingDataHidden' style='width:400px'><br/><br/><br/><br/><br/
><br/><div style='text-align:center;padding:4 4 4 4;font-family:
Verdana, Arial, Helvetica, sans-serif;font-size:8pt;font-
weight:bold;color:#666666;border:none;ba
ckground-color:#F2F8EA;'><img
src='animazione_freccia.gif' width='30' height='30' align='absMiddle'
border='0' /
> Caricamento
dati in corso, attendere...</div></div></center>";
Response.Write(str);
Response.Flush();
SysXml.TransformSource = "TestFlush.xslt";
int delatTime;
try
{
delatTime =
Convert.ToInt32(Request.QueryString["TIME"].ToString());
}
catch{
delatTime = 0;
}
System.Threading.Thread.Sleep(delatTime);
XmlDocument doc = new XmlDocument();
doc.Load(Server.MapPath("TestFlush.xml"));
XslTransform trans = new XslTransform();
trans.Load(Server.MapPath("TestFlush.xslt"));
SysXml.Document = doc;
SysXml.Transform = trans;
}
This code works fine with IE5.5, IE7, IE6 ver
6.0.2900.2180.xpsp_sp2_gdr.061219-0316 (ITA) but not with IE6 ver
6.0.2900.2180.xpsp_sp2_gdr.050301-1519 (EN).
Can somebody help me?
Thanks
Rocco
| |
| Göran Andersson 2007-07-27, 7:10 pm |
| rocco.padovani@gmail.com wrote:
> Hello,
> I have a problem with a response.flush code only with some versions of
> IE6.
> This is my code:
8<
> This code works fine with IE5.5, IE7, IE6 ver
> 6.0.2900.2180.xpsp_sp2_gdr.061219-0316 (ITA) but not with IE6 ver
> 6.0.2900.2180.xpsp_sp2_gdr.050301-1519 (EN).
> Can somebody help me?
> Thanks
> Rocco
>
Standard question #1:
What do you mean by "not working"?
--
Göran Andersson
_____
http://www.guffa.com
| |
| rocco.padovani@gmail.com 2007-07-31, 4:23 am |
| On 28 Lug, 00:54, G=F6ran Andersson <gu...@guffa.com> wrote:
> rocco.padov...@gmail.com wrote:
>
> 8<
>
>
> Standard question #1:
> What do you mean by "not working"?
>
> --
> G=F6ran Andersson
> _____http://www.guffa.com
the same server-client configuration has two differents behaviors:
with IEIE5.5, IE7, IE6 ver 6.0.2900.2180.xpsp_sp2_gdr.061219-0316
correctly flushes and show first the message like "Please wait...
loading data" and then the data, while with IE6 ver
6=2E0.2900.2180.xpsp_sp2_gdr.050301-1519 doesn't flushes the waiting
message and shows all togheter (message and data). This message is
grater than 256 byte..
It looks like a client problem, but the same version of IE6
6=2E0.2900.2180.xpsp_sp2_gdr.050301-1519 correctly show the "Please wait
" messagge in develop environment..
I don't understand if it's a client or a server problem or bug
Thank you
Rocco
| |
| Andrew Morton 2007-07-31, 8:10 am |
| rocco.padovani@gmail.com wrote:
> the same server-client configuration has two differents behaviors:
> with IEIE5.5, IE7, IE6 ver 6.0.2900.2180.xpsp_sp2_gdr.061219-0316
> correctly flushes and show first the message like "Please wait...
> loading data" and then the data, while with IE6 ver
> 6.0.2900.2180.xpsp_sp2_gdr.050301-1519 doesn't flushes the waiting
> message and shows all togheter (message and data). This message is
> grater than 256 byte..
> It looks like a client problem, but the same version of IE6
> 6.0.2900.2180.xpsp_sp2_gdr.050301-1519 correctly show the "Please wait
> " messagge in develop environment..
> I don't understand if it's a client or a server problem or bug
It looks like the one IE that doesn't do what you want is simply not
bothering to render the partial data. Maybe you can find something different
in the Internet Options settings in IE.
Andrew
|
|
|
|
|