ie6 response.flush problem

Discussion in 'ASP .Net' started by rocco.padovani@gmail.com, Jul 27, 2007.

  1. Guest

    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;background-color:#F2F8EA;'><img
    src='animazione_freccia.gif' width='30' height='30' align='absMiddle'
    border='0' /
    >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Caricamento

    dati&nbsp;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
     
    , Jul 27, 2007
    #1
    1. Advertising

  2. 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
     
    =?ISO-8859-1?Q?G=F6ran_Andersson?=, Jul 27, 2007
    #2
    1. Advertising

  3. Guest

    On 28 Lug, 00:54, Göran Andersson <> wrote:
    > wrote:
    > > Hello,
    > > I have a problem with a response.flushcode 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


    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
    Thank you
    Rocco
     
    , Jul 31, 2007
    #3
  4. 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
     
    Andrew Morton, Jul 31, 2007
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Glen Wilkin via DotNetMonster.com

    Response.Redirect after Response.Flush

    Glen Wilkin via DotNetMonster.com, Apr 15, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    7,091
  2. Replies:
    5
    Views:
    605
    =?ISO-8859-1?Q?G=F6ran_Andersson?=
    Jun 12, 2007
  3. Flush problem with IE6

    , Jul 27, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    1,484
  4. Richard N.

    Response.Flush / Response.Redirect

    Richard N., Oct 18, 2003, in forum: ASP General
    Replies:
    1
    Views:
    220
    Tom B
    Oct 19, 2003
  5. Pugi!
    Replies:
    0
    Views:
    263
    Pugi!
    Feb 5, 2007
Loading...

Share This Page