Page continuously refreshs

Page continuously refreshs

am 06.10.2007 14:44:27 von PW

One of my ASP's was working fine for a long time. Now it has started
constantly refreshing itself. Everytime I run it I just get the first part
of the page, then it refreshes itself, the rest of the page doesn't get
displatyed, and this goes on continuously.

The main sympton is that the select box thats being populated gets a
different number of rows loaded into it each time. And the last row that
gets loaded is always truncated. Its almost like theres some size
limitation its encountering. I didn't think there was a limit on select
boxes.

The ASP is index.asp, and I have a form that submits it to itself.

Any help is greatly appreciated.

I'm using WinXP Pro SP2, IIS, Access db.

Here's the code segment ...


; height:
<%=Session("SystemButtonheight")%>;">
Q-TAGS SELECTION LIST (red lines indicate notes are attached)



Re: Page continuously refreshs

am 06.10.2007 15:15:46 von PW

The rs1 sql statement is here ...

mySQL = mySQL & "SELECT DISTINCT Qtags.ESCI, Qtags.ESCN, Notes.Notes "
mySQL = mySQL & "FROM QTags LEFT JOIN Notes ON (QTags.ESCI = Notes.ESCI) "
mySQL = mySQL & "ORDER BY Qtags.ESCI "
rs1.open mySQL,myDSN

Re: Page continuously refreshs

am 06.10.2007 15:24:57 von PW

Heres some new info I just discovered.

I changed one line of code ...

myOption = rs1("ESCI") & " | " & rs1("ESCN")
to
myOption = rs1("ESCI") & " | " & left(rs1("ESCN"),20)

and it worked for about 10 tries of navigating around, then it went back to
its old behavior.

Sure seems like some kind of limit is being hit.

Re: Page continuously refreshs

am 06.10.2007 19:01:25 von Adrienne Boswell

Gazing into my crystal ball I observed "PW"
writing in news:eXmDhaBCIHA.4712@TK2MSFTNGP04.phx.gbl:

>
> One of my ASP's was working fine for a long time. Now it has started
> constantly refreshing itself. Everytime I run it I just get the first
> part of the page, then it refreshes itself, the rest of the page
> doesn't get displatyed, and this goes on continuously.
>
> The main sympton is that the select box thats being populated gets a
> different number of rows loaded into it each time. And the last row
> that gets loaded is always truncated. Its almost like theres some
> size limitation its encountering. I didn't think there was a limit on
> select boxes.

What does the view source say? Does the markup validate? A lot of
times, although it is client side, validating markup will show me a
server side problem.

>
> The ASP is index.asp, and I have a form that submits it to itself.
>
> Any help is greatly appreciated.
>
> I'm using WinXP Pro SP2, IIS, Access db.
>
> Here's the code segment ...
>
>


> ; height:
><%=Session("SystemButtonheight")%>;">

Are you including a unit with that? What is it? 10em, 10px, 10toaters?
You would be better off putting this in an external stylesheet, and
using then you can
define the styling in the stylesheet.

> Q-TAGS SELECTION LIST (red lines indicate notes are attached)
>

>
>

>
>
>

You would also do better to use getrows() instead of looping through the
recordset.

Do you have a URL to look at?

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Re: Page continuously refreshs

am 06.10.2007 19:10:36 von Adrienne Boswell

Gazing into my crystal ball I observed "PW"
writing in news:O#utAsBCIHA.5868@TK2MSFTNGP05.phx.gbl:

>
> The rs1 sql statement is here ...
>
> mySQL = mySQL & "SELECT DISTINCT Qtags.ESCI, Qtags.ESCN, Notes.Notes "
> mySQL = mySQL & "FROM QTags LEFT JOIN Notes ON (QTags.ESCI =
> Notes.ESCI) " mySQL = mySQL & "ORDER BY Qtags.ESCI "
> rs1.open mySQL,myDSN
>
>

What records to you get when you run the query from Access? Why are you
using DSN. Google DSN vs DSNless connections.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Re: Page continuously refreshs

am 06.10.2007 19:11:15 von Adrienne Boswell

Gazing into my crystal ball I observed "PW"
writing in news:ei28IxBCIHA.5360@TK2MSFTNGP03.phx.gbl:

>
> Heres some new info I just discovered.
>
> I changed one line of code ...
>
> myOption = rs1("ESCI") & " | " & rs1("ESCN")
> to
> myOption = rs1("ESCI") & " | " & left(rs1("ESCN"),20)
>
> and it worked for about 10 tries of navigating around, then it went
> back to its old behavior.
>
> Sure seems like some kind of limit is being hit.
>
>
>

Do you have a URL that exhibits this behavior?

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Re: Page continuously refreshs

am 07.10.2007 03:20:24 von PW

"Adrienne Boswell" wrote in message
news:Xns99C165F47B0A2arbpenyahoocom@69.28.186.121...
> Gazing into my crystal ball I observed "PW"
> writing in news:eXmDhaBCIHA.4712@TK2MSFTNGP04.phx.gbl:
>
>>
>> One of my ASP's was working fine for a long time. Now it has started
>> constantly refreshing itself. Everytime I run it I just get the first
>> part of the page, then it refreshes itself, the rest of the page
>> doesn't get displatyed, and this goes on continuously.
>>
>> The main sympton is that the select box thats being populated gets a
>> different number of rows loaded into it each time. And the last row
>> that gets loaded is always truncated. Its almost like theres some
>> size limitation its encountering. I didn't think there was a limit on
>> select boxes.
>
> What does the view source say? Does the markup validate? A lot of
> times, although it is client side, validating markup will show me a
> server side problem.
>
>>
>> The ASP is index.asp, and I have a form that submits it to itself.
>>
>> Any help is greatly appreciated.
>>
>> I'm using WinXP Pro SP2, IIS, Access db.
>>
>> Here's the code segment ...
>>
>>


>> ; height:
>><%=Session("SystemButtonheight")%>;">
>
> Are you including a unit with that? What is it? 10em, 10px, 10toaters?
> You would be better off putting this in an external stylesheet, and
> using then you can
> define the styling in the stylesheet.
>
>> Q-TAGS SELECTION LIST (red lines indicate notes are attached)
>>

>>
>>

>>
>>
>>
>
> You would also do better to use getrows() instead of looping through the
> recordset.
>
> Do you have a URL to look at?
>
> --
> Adrienne Boswell at Home
> Arbpen Web Site Design Services
> http://www.cavalcade-of-coding.info
> Please respond to the group so others can share
>


Hi Adrienne,

"What does the view source say?" ... brilliant! That was an excellent
suggestion. I did just that and found that the page that was being produced
is in excess of 250k. After reading other blogs on this topic I've come to
the conclusion that IIS may be timing out due to the large page size due to
the excessive number of records I am selecing from the database (over
10,000).

I removed some of the code thats producing formatting and 'voila' it worked,
even with the massive 10,000 rows requested. So it would appear the issue
is simply that IIS can't handle the size of the HTML page being produced and
times out, thus NOT producing the rest of the page, and truncating the
resulting HTML.

This can be reduced by changing my formatting to CSS and reducing the
overall content of the page.

Quite a new technical issue I have never come across before.

Thanks for your help.

Regards,
PW

Re: Page continuously refreshs

am 07.10.2007 09:18:34 von exjxw.hannivoort

PW wrote on 07 okt 2007 in microsoft.public.inetserver.asp.general:

> What does the view source say?" ... brilliant! That was an excellent
> suggestion. I did just that and found that the page that was being
> produced is in excess of 250k. After reading other blogs on this
> topic I've come to the conclusion that IIS may be timing out due to
> the large page size due to the excessive number of records I am
> selecing from the database (over 10,000).
>
> I removed some of the code thats producing formatting and 'voila' it
> worked, even with the massive 10,000 rows requested. So it would
> appear the issue is simply that IIS can't handle the size of the HTML
> page being produced and times out, thus NOT producing the rest of the
> page, and truncating the resulting HTML.
>
> This can be reduced by changing my formatting to CSS and reducing the
> overall content of the page.
>
> Quite a new technical issue I have never come across before.

"a new technical issue" ???

If that is the diagnosis always consider a bug in reasoning.
Servers cannot refresh, only clients can [without push technology].
That is why servers are called "servers".

I severely doubt that anything IIS produces and sends to the client will
have the browser refresh, unless it contains either:
1 some sort of refresh header
2 a meta refresh
3 a clientside code refresh

And why would IIS send that if you do not specify?

In the end it must be a clientside issue, not just a IIS timeout issue.

Purely theoretically speaking ...

==================

btw, whatever human or humanoid user wil read pages of 10000+ records,
or are you by chance sending bitmaps with 1 record = 1 pixel,
absolutely positioned by CSS?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Re: Page continuously refreshs

am 07.10.2007 17:10:00 von PW

"Evertjan." wrote in message
news:Xns99C25EB2F9C3Eeejj99@194.109.133.242...
>
> "a new technical issue" ???
>
> If that is the diagnosis always consider a bug in reasoning.
> Servers cannot refresh, only clients can [without push technology].
> That is why servers are called "servers".
>
> I severely doubt that anything IIS produces and sends to the client will
> have the browser refresh, unless it contains either:
> 1 some sort of refresh header
> 2 a meta refresh
> 3 a clientside code refresh
>
> And why would IIS send that if you do not specify?
>
> In the end it must be a clientside issue, not just a IIS timeout issue.
>
> Purely theoretically speaking ...
>
> ==================
>
> btw, whatever human or humanoid user wil read pages of 10000+ records,
> or are you by chance sending bitmaps with 1 record = 1 pixel,
> absolutely positioned by CSS?
>
> --
> Evertjan.
> The Netherlands.
> (Please change the x'es to dots in my emailaddress)


Sorry, when I said it was a new technical issue, I meant it was new to me.
Certainly this issue has been around for a long time, I have simply never
encountered it before.

About the refreshing, the reason the page continually refreshed (I believe)
is because it is index.asp and I have a form within the page that directs it
to itself with different variable values which it reacts too in the
appropriate way.

About the timeout diagnosis, as I mentioned in my earlier post, I have read
other blogs around the internet that indicated that if the resulting html
page is large then IIS seems to timeout. Perhaps thats not what technically
happens, but that appears to be the end result. The resulting html page in
NOT completely 'served' and is truncated. It seems to be timing out, at
least it seems to NOT be finishing the serving of the page.

About the 10,000 records, yes I agree its too much and I will address that
.... but at the moment I am happy that the technical issue I originally
started this thread about is now solved. Whether people agree or disagree
about what the page does is a totally separate discussion.

Does that help you? I hope so.

Regards,
PW

Re: Page continuously refreshs

am 07.10.2007 18:09:13 von Anthony Jones

"PW" wrote in message
news:OwOQgQPCIHA.2324@TK2MSFTNGP03.phx.gbl...
>
> "Evertjan." wrote in message
> news:Xns99C25EB2F9C3Eeejj99@194.109.133.242...
> >
> > "a new technical issue" ???
> >
> > If that is the diagnosis always consider a bug in reasoning.
> > Servers cannot refresh, only clients can [without push technology].
> > That is why servers are called "servers".
> >
> > I severely doubt that anything IIS produces and sends to the client will
> > have the browser refresh, unless it contains either:
> > 1 some sort of refresh header
> > 2 a meta refresh
> > 3 a clientside code refresh
> >
> > And why would IIS send that if you do not specify?
> >
> > In the end it must be a clientside issue, not just a IIS timeout issue.
> >
> > Purely theoretically speaking ...
> >
> > ==================
> >
> > btw, whatever human or humanoid user wil read pages of 10000+ records,
> > or are you by chance sending bitmaps with 1 record = 1 pixel,
> > absolutely positioned by CSS?
> >
> > --
> > Evertjan.
> > The Netherlands.
> > (Please change the x'es to dots in my emailaddress)
>
>
> Sorry, when I said it was a new technical issue, I meant it was new to me.
> Certainly this issue has been around for a long time, I have simply never
> encountered it before.
>
> About the refreshing, the reason the page continually refreshed (I
believe)
> is because it is index.asp and I have a form within the page that directs
it
> to itself with different variable values which it reacts too in the
> appropriate way.
>
> About the timeout diagnosis, as I mentioned in my earlier post, I have
read
> other blogs around the internet that indicated that if the resulting html
> page is large then IIS seems to timeout. Perhaps thats not what
technically
> happens, but that appears to be the end result. The resulting html page
in
> NOT completely 'served' and is truncated. It seems to be timing out, at
> least it seems to NOT be finishing the serving of the page.
>

IIS doesn't timeout but ASP does. It has a script timeout set by default to
30 seconds.
If you have buffering turned off then you can expect to receive an
incomplete HTML content followed by the contents of the asp 500 internal
error page.

Like Evertjan I can't quite see how this server-side behaviour would invoke
the client-side operation of refreshing the content.


--
Anthony Jones - MVP ASP/ASP.NET

Re: Page continuously refreshs

am 07.10.2007 22:58:15 von Adrienne Boswell

Gazing into my crystal ball I observed "PW"
writing in news:OjNT7AICIHA.484@TK2MSFTNGP06.phx.gbl:

>
> "Adrienne Boswell" wrote in message
> news:Xns99C165F47B0A2arbpenyahoocom@69.28.186.121...
>> Gazing into my crystal ball I observed "PW"
>> writing in
>> news:eXmDhaBCIHA.4712@TK2MSFTNGP04.phx.gbl:
>>
>>>
>>> One of my ASP's was working fine for a long time. Now it has
>>> started constantly refreshing itself. Everytime I run it I just get
>>> the first part of the page, then it refreshes itself, the rest of
>>> the page doesn't get displatyed, and this goes on continuously.
>>>
>>> The main sympton is that the select box thats being populated gets a
>>> different number of rows loaded into it each time. And the last row
>>> that gets loaded is always truncated. Its almost like theres some
>>> size limitation its encountering. I didn't think there was a limit
>>> on select boxes.
>>
>> What does the view source say? Does the markup validate? A lot of
>> times, although it is client side, validating markup will show me a
>> server side problem.
>>
>>>
>>> The ASP is index.asp, and I have a form that submits it to itself.
>>>
>>> Any help is greatly appreciated.
>>>
>>> I'm using WinXP Pro SP2, IIS, Access db.
>>>
>>> Here's the code segment ...
>>>
>>>


>>> ; height:
>>><%=Session("SystemButtonheight")%>;">
>>
>> Are you including a unit with that? What is it? 10em, 10px,
>> 10toaters? You would be better off putting this in an external
>> stylesheet, and using
>> then you can define the styling in the stylesheet.
>>
>>> Q-TAGS SELECTION LIST (red lines indicate notes are attached)
>>>

>>>
>>>

>>>
>>>
>>>
>>
>> You would also do better to use getrows() instead of looping through
>> the recordset.
>>
>> Do you have a URL to look at?
>>
>> --
>> Adrienne Boswell at Home
>> Arbpen Web Site Design Services
>> http://www.cavalcade-of-coding.info
>> Please respond to the group so others can share
>>
>
>
> Hi Adrienne,
>
> "What does the view source say?" ... brilliant! That was an excellent
> suggestion. I did just that and found that the page that was being
> produced is in excess of 250k. After reading other blogs on this
> topic I've come to the conclusion that IIS may be timing out due to
> the large page size due to the excessive number of records I am
> selecing from the database (over 10,000).
>
> I removed some of the code thats producing formatting and 'voila' it
> worked, even with the massive 10,000 rows requested. So it would
> appear the issue is simply that IIS can't handle the size of the HTML
> page being produced and times out, thus NOT producing the rest of the
> page, and truncating the resulting HTML.
>
> This can be reduced by changing my formatting to CSS and reducing the
> overall content of the page.
>
> Quite a new technical issue I have never come across before.
>
> Thanks for your help.
>
> Regards,
> PW
>
>
>

I'm glad I was able to help - but, as others have said, what about those
10,000 records. This is something you need to address NOW. All that
data could make a browser timeout or even freeze up. Think about people
on dialup, how long it's going to take to download all that information.

Break the information into chunks, for example, classification ->
category -> type -> widgets. You can even put a bread crumb trail to
help users find their way back.

You really need to do some planning to make this as light weight and
accessible as possible. Users are fickle, and if a page doesn't load
fast enough they are on to something else. You also have to consider
usability - is the easy and intuitive for the user? It's annoying
enough having to go on sites that ask for a country, and you have to
scroll through all the countries - and there are nothing near 10,000
countries (even if you count the ones that don't exist, or are
exceptions).

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Re: Page continuously refreshs

am 08.10.2007 12:53:22 von PW

"Adrienne Boswell" wrote in message
news:Xns99C28E18F517Aarbpenyahoocom@69.28.186.121...
> Gazing into my crystal ball I observed "PW"
> writing in news:OjNT7AICIHA.484@TK2MSFTNGP06.phx.gbl:
>
>>
>> "Adrienne Boswell" wrote in message
>> news:Xns99C165F47B0A2arbpenyahoocom@69.28.186.121...
>>> Gazing into my crystal ball I observed "PW"
>>> writing in
>>> news:eXmDhaBCIHA.4712@TK2MSFTNGP04.phx.gbl:
>>>
>>>>
>>>> One of my ASP's was working fine for a long time. Now it has
>>>> started constantly refreshing itself. Everytime I run it I just get
>>>> the first part of the page, then it refreshes itself, the rest of
>>>> the page doesn't get displatyed, and this goes on continuously.
>>>>
>>>> The main sympton is that the select box thats being populated gets a
>>>> different number of rows loaded into it each time. And the last row
>>>> that gets loaded is always truncated. Its almost like theres some
>>>> size limitation its encountering. I didn't think there was a limit
>>>> on select boxes.
>>>
>>> What does the view source say? Does the markup validate? A lot of
>>> times, although it is client side, validating markup will show me a
>>> server side problem.
>>>
>>>>
>>>> The ASP is index.asp, and I have a form that submits it to itself.
>>>>
>>>> Any help is greatly appreciated.
>>>>
>>>> I'm using WinXP Pro SP2, IIS, Access db.
>>>>
>>>> Here's the code segment ...
>>>>
>>>>


>>>> ; height:
>>>><%=Session("SystemButtonheight")%>;">
>>>
>>> Are you including a unit with that? What is it? 10em, 10px,
>>> 10toaters? You would be better off putting this in an external
>>> stylesheet, and using
>>> then you can define the styling in the stylesheet.
>>>
>>>> Q-TAGS SELECTION LIST (red lines indicate notes are attached)
>>>>

>>>>
>>>>

>>>>
>>>>
>>>>
>>>
>>> You would also do better to use getrows() instead of looping through
>>> the recordset.
>>>
>>> Do you have a URL to look at?
>>>
>>> --
>>> Adrienne Boswell at Home
>>> Arbpen Web Site Design Services
>>> http://www.cavalcade-of-coding.info
>>> Please respond to the group so others can share
>>>
>>
>>
>> Hi Adrienne,
>>
>> "What does the view source say?" ... brilliant! That was an excellent
>> suggestion. I did just that and found that the page that was being
>> produced is in excess of 250k. After reading other blogs on this
>> topic I've come to the conclusion that IIS may be timing out due to
>> the large page size due to the excessive number of records I am
>> selecing from the database (over 10,000).
>>
>> I removed some of the code thats producing formatting and 'voila' it
>> worked, even with the massive 10,000 rows requested. So it would
>> appear the issue is simply that IIS can't handle the size of the HTML
>> page being produced and times out, thus NOT producing the rest of the
>> page, and truncating the resulting HTML.
>>
>> This can be reduced by changing my formatting to CSS and reducing the
>> overall content of the page.
>>
>> Quite a new technical issue I have never come across before.
>>
>> Thanks for your help.
>>
>> Regards,
>> PW
>>
>>
>>
>
> I'm glad I was able to help - but, as others have said, what about those
> 10,000 records. This is something you need to address NOW. All that
> data could make a browser timeout or even freeze up. Think about people
> on dialup, how long it's going to take to download all that information.
>
> Break the information into chunks, for example, classification ->
> category -> type -> widgets. You can even put a bread crumb trail to
> help users find their way back.
>
> You really need to do some planning to make this as light weight and
> accessible as possible. Users are fickle, and if a page doesn't load
> fast enough they are on to something else. You also have to consider
> usability - is the easy and intuitive for the user? It's annoying
> enough having to go on sites that ask for a country, and you have to
> scroll through all the countries - and there are nothing near 10,000
> countries (even if you count the ones that don't exist, or are
> exceptions).
>
> --
> Adrienne Boswell at Home
> Arbpen Web Site Design Services
> http://www.cavalcade-of-coding.info
> Please respond to the group so others can share
>


Ahhh, I should have mentioned that this in on an intranet, not the internet.
The application is used by a select few logistics 'catalogers' who are using
the application to categorise supply records. The 'select' box that is
being populated with the 10,000 records is actually very quick (maybe 5
seconds?) probably because its on an internal high speed network and not on
the WWW. Also the 'select' box is being populated with just a 6 character
ID and the first 20 characters of the description, so it really is
adequately fast.

BUT, I take your point and I am going to redo it so the user can perform a
drill-down rather than get stomped with the entire record set. Of course
the result will be an almost instant didplay rather than a sluggish 5-10
seconds delay.

Again, many thanks for your help. I am stoked! :-)

Regards,
PW

Re: Page continuously refreshs

am 08.10.2007 12:55:16 von PW

"Anthony Jones" wrote in message
news:uLVqoxPCIHA.2324@TK2MSFTNGP03.phx.gbl...
> "PW" wrote in message
> news:OwOQgQPCIHA.2324@TK2MSFTNGP03.phx.gbl...
>>
>> "Evertjan." wrote in message
>> news:Xns99C25EB2F9C3Eeejj99@194.109.133.242...
>> >
>> > "a new technical issue" ???
>> >
>> > If that is the diagnosis always consider a bug in reasoning.
>> > Servers cannot refresh, only clients can [without push technology].
>> > That is why servers are called "servers".
>> >
>> > I severely doubt that anything IIS produces and sends to the client
>> > will
>> > have the browser refresh, unless it contains either:
>> > 1 some sort of refresh header
>> > 2 a meta refresh
>> > 3 a clientside code refresh
>> >
>> > And why would IIS send that if you do not specify?
>> >
>> > In the end it must be a clientside issue, not just a IIS timeout issue.
>> >
>> > Purely theoretically speaking ...
>> >
>> > ==================
>> >
>> > btw, whatever human or humanoid user wil read pages of 10000+ records,
>> > or are you by chance sending bitmaps with 1 record = 1 pixel,
>> > absolutely positioned by CSS?
>> >
>> > --
>> > Evertjan.
>> > The Netherlands.
>> > (Please change the x'es to dots in my emailaddress)
>>
>>
>> Sorry, when I said it was a new technical issue, I meant it was new to
>> me.
>> Certainly this issue has been around for a long time, I have simply never
>> encountered it before.
>>
>> About the refreshing, the reason the page continually refreshed (I
> believe)
>> is because it is index.asp and I have a form within the page that directs
> it
>> to itself with different variable values which it reacts too in the
>> appropriate way.
>>
>> About the timeout diagnosis, as I mentioned in my earlier post, I have
> read
>> other blogs around the internet that indicated that if the resulting html
>> page is large then IIS seems to timeout. Perhaps thats not what
> technically
>> happens, but that appears to be the end result. The resulting html page
> in
>> NOT completely 'served' and is truncated. It seems to be timing out, at
>> least it seems to NOT be finishing the serving of the page.
>>
>
> IIS doesn't timeout but ASP does. It has a script timeout set by default
> to
> 30 seconds.
> If you have buffering turned off then you can expect to receive an
> incomplete HTML content followed by the contents of the asp 500 internal
> error page.
>
> Like Evertjan I can't quite see how this server-side behaviour would
> invoke
> the client-side operation of refreshing the content.
>
>
> --
> Anthony Jones - MVP ASP/ASP.NET
>
>


Ahhh, ok more info that I didn't know. I will read up on the buffering and
timeout settings and try tuning them to see what the result is.

many thanks,
PW

Re: Page continuously refreshs

am 08.10.2007 13:12:56 von PW

"PW" wrote in message
news:eDMvzmZCIHA.1208@TK2MSFTNGP03.phx.gbl...
>
> "Anthony Jones" wrote in message
> news:uLVqoxPCIHA.2324@TK2MSFTNGP03.phx.gbl...
>> "PW" wrote in message
>> news:OwOQgQPCIHA.2324@TK2MSFTNGP03.phx.gbl...
>>>
>>> "Evertjan." wrote in message
>>> news:Xns99C25EB2F9C3Eeejj99@194.109.133.242...
>>> >
>>> > "a new technical issue" ???
>>> >
>>> > If that is the diagnosis always consider a bug in reasoning.
>>> > Servers cannot refresh, only clients can [without push technology].
>>> > That is why servers are called "servers".
>>> >
>>> > I severely doubt that anything IIS produces and sends to the client
>>> > will
>>> > have the browser refresh, unless it contains either:
>>> > 1 some sort of refresh header
>>> > 2 a meta refresh
>>> > 3 a clientside code refresh
>>> >
>>> > And why would IIS send that if you do not specify?
>>> >
>>> > In the end it must be a clientside issue, not just a IIS timeout
>>> > issue.
>>> >
>>> > Purely theoretically speaking ...
>>> >
>>> > ==================
>>> >
>>> > btw, whatever human or humanoid user wil read pages of 10000+ records,
>>> > or are you by chance sending bitmaps with 1 record = 1 pixel,
>>> > absolutely positioned by CSS?
>>> >
>>> > --
>>> > Evertjan.
>>> > The Netherlands.
>>> > (Please change the x'es to dots in my emailaddress)
>>>
>>>
>>> Sorry, when I said it was a new technical issue, I meant it was new to
>>> me.
>>> Certainly this issue has been around for a long time, I have simply
>>> never
>>> encountered it before.
>>>
>>> About the refreshing, the reason the page continually refreshed (I
>> believe)
>>> is because it is index.asp and I have a form within the page that
>>> directs
>> it
>>> to itself with different variable values which it reacts too in the
>>> appropriate way.
>>>
>>> About the timeout diagnosis, as I mentioned in my earlier post, I have
>> read
>>> other blogs around the internet that indicated that if the resulting
>>> html
>>> page is large then IIS seems to timeout. Perhaps thats not what
>> technically
>>> happens, but that appears to be the end result. The resulting html page
>> in
>>> NOT completely 'served' and is truncated. It seems to be timing out, at
>>> least it seems to NOT be finishing the serving of the page.
>>>
>>
>> IIS doesn't timeout but ASP does. It has a script timeout set by default
>> to
>> 30 seconds.
>> If you have buffering turned off then you can expect to receive an
>> incomplete HTML content followed by the contents of the asp 500 internal
>> error page.
>>
>> Like Evertjan I can't quite see how this server-side behaviour would
>> invoke
>> the client-side operation of refreshing the content.
>>
>>
>> --
>> Anthony Jones - MVP ASP/ASP.NET
>>
>>
>
>
> Ahhh, ok more info that I didn't know. I will read up on the buffering
> and timeout settings and try tuning them to see what the result is.
>
> many thanks,
> PW
>


Ok, I read about response.buffer (thanks W3 schools!) and set it to true,
then placed a response.flush within the loop that was causing my issue. And
it works perfectly. I even removed the description truncation and used the
full description, and it also works perfectly. So, my original conclusion
(IIS timing out) was incorrect, its actually the buffering.

Once again, thanks for all your help. This newsgroup is such a valuable
resource.

Regards,
PW