Browser hangs with ASP

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Browser hangs with ASP

    In my web application, client browsers (IE6) get data by creating ADO
    recordsets that open up ASP pages on the server. The server queries a SQL
    Server database and returns data to the client by persiting it in XML format
    in a Response object.

    This works fine in most cases, but for larger data sets (e.g.: 3200 records
    of 10 fields) I see behavior where the client browser hangs, and I have to
    kill it and restart the browser. However, I don't have to do anything else
    to the server, I can just open up a new browser on the client and connect
    again.

    Any ideas? Any suggestions for debugging this issue?

    Thanks in advance,

    Kevin


    Kevin Shea Guest

  2. Similar Questions and Discussions

    1. SELECT from one table hangs browser
      Hi, Recently when loading data from one msaccess table from dozens in an access database causes the web page hang, then eventually time out when...
    2. Browser Hangs
      I have an application that launches a pop up window containing flash. On exiting the pop up window the browser (parent window) post's data back to...
    3. Browser hangs when posting sometimes
      Hi, We are experiencing a frequent problem with an ASP.NET application using IE. We have a registration process that involves an Infragistics...
    4. Windows 2000 SP 4; Browser Hangs
      I installed SP4 for Windows 2000. Prior to the upgrade my system was at SP3 and I was able to run ASP scripts from my browser just fine. For...
    5. Browser hangs at download
      Marc wrote on 04 jul 2003 in microsoft.public.inetserver.asp.general: Systems do not browse, browsers do. Does a clients browser stop working...
  3. #2

    Default Re: Browser hangs with ASP

    > This works fine in most cases, but for larger data sets (e.g.: 3200
    records
    > of 10 fields) I see behavior where the client browser hangs,
    command timeout
    [url]http://81.130.213.94/myforum/forum_posts.asp?TID=69&PN=1[/url]

    --
    Mike Collier
    FREE ADO Inspector tool when you register at ADO forum.
    [url]www.adoanywhere.com[/url]
    [url]http://www.adoanywhere.com/forum[/url]


    Mike Collier Guest

  4. #3

    Default Re: Browser hangs with ASP

    Mike,

    Thanks for your response, I have an additional question.

    Is there a CommandTimeout property for opening up a recordset using an ASP
    page.

    For example, in my code, I'm doing the following on the client:

    var rst = new ActiveXObject("ADODB.Recordset");
    rst.CursorLocation = 3;//adUseClient
    rst.CursorType = 0;//default,adOpenForwardOnly
    rst.LockType = 1;//adLockReadOnly
    rst.Open(funcURL);

    Here, I don't have a command object or a connection object.

    On the server, I do the following:

    rs.Save(Response, adPersistXML);

    Thanks,

    Kevin
    "Mike Collier" <noemail@noemail> wrote in message
    news:ed2pxW25DHA.3304@tk2msftngp13.phx.gbl...
    > > This works fine in most cases, but for larger data sets (e.g.: 3200
    > records
    > > of 10 fields) I see behavior where the client browser hangs,
    >
    > command timeout
    > [url]http://81.130.213.94/myforum/forum_posts.asp?TID=69&PN=1[/url]
    >
    > --
    > Mike Collier
    > FREE ADO Inspector tool when you register at ADO forum.
    > [url]www.adoanywhere.com[/url]
    > [url]http://www.adoanywhere.com/forum[/url]
    >
    >

    Kevin Shea Guest

  5. #4

    Default Re: Browser hangs with ASP

    Hi Kevin,
    > Is there a CommandTimeout property for opening up a recordset
    As far as I know this can't be done with just a recordset. You will need to
    use an object that supports CommandTimeout to get your recordset.

    --
    Mike Collier
    FREE ADO Inspector tool when you register at ADO forum.
    [url]www.adoanywhere.com[/url]
    [url]http://www.adoanywhere.com/forum[/url]




    "Kevin Shea" <kshea@mathworks.com> wrote in message
    news:O2ivH$Z6DHA.2264@tk2msftngp13.phx.gbl...
    > Mike,
    >
    > Thanks for your response, I have an additional question.
    >
    > Is there a CommandTimeout property for opening up a recordset using an ASP
    > page.
    >
    > For example, in my code, I'm doing the following on the client:
    >
    > var rst = new ActiveXObject("ADODB.Recordset");
    > rst.CursorLocation = 3;//adUseClient
    > rst.CursorType = 0;//default,adOpenForwardOnly
    > rst.LockType = 1;//adLockReadOnly
    > rst.Open(funcURL);
    >
    > Here, I don't have a command object or a connection object.
    >
    > On the server, I do the following:
    >
    > rs.Save(Response, adPersistXML);
    >
    > Thanks,
    >
    > Kevin
    > "Mike Collier" <noemail@noemail> wrote in message
    > news:ed2pxW25DHA.3304@tk2msftngp13.phx.gbl...
    > > > This works fine in most cases, but for larger data sets (e.g.: 3200
    > > records
    > > > of 10 fields) I see behavior where the client browser hangs,
    > >
    > > command timeout
    > > [url]http://81.130.213.94/myforum/forum_posts.asp?TID=69&PN=1[/url]
    > >
    > > --
    > > Mike Collier
    > > FREE ADO Inspector tool when you register at ADO forum.
    > > [url]www.adoanywhere.com[/url]
    > > [url]http://www.adoanywhere.com/forum[/url]
    > >
    > >
    >
    >

    Mike Collier Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139