Ask a Question related to ASP Database, Design and Development.
-
Kevin Shea #1
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
-
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... -
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... -
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... -
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... -
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... -
Mike Collier #2
Re: Browser hangs with ASP
> This works fine in most cases, but for larger data sets (e.g.: 3200
recordscommand timeout> of 10 fields) I see behavior where the client browser hangs,
[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
-
Kevin Shea #3
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...> records> > This works fine in most cases, but for larger data sets (e.g.: 3200>> > 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
-
Mike Collier #4
Re: Browser hangs with ASP
Hi Kevin,
As far as I know this can't be done with just a recordset. You will need to> Is there a CommandTimeout property for opening up a recordset
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...>> > records> > > This works fine in most cases, but for larger data sets (e.g.: 3200> >> > > 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



Reply With Quote

