D
Dominic Godin
Hi,
I have an asp page that does a lot of processing and reports it's
finished by printing the word "Success". For example:
<% SomeFunction(SomeVar)
SomeFunction(SomeVar1)
SomeFunction(SomeVar3)
Response.Write("Success")
%>
For one of our clients the word "Success" no longer appears. The page
is stuck loading. I have checked the log files created by the
processing function and they all complete their tasks successfully.
Even stranger still if I add some debugging code to the function:-
<% Function SomeFunction (SomeVar)
For i = 0 to ABigNumber
...Do some stuff...
Response.Write ("Some debug text")
Response.Flush
Next
End Function %>
This will print out all the debugging text and the wanted word
"Success". I tab the two Response lines out and the page never loads.
Put then back in and the page prints all the text and loads fine.
It seems that if you don't keep the response object busy it will stop
working after a few minutes. I have tried Response.End, Response.Flush
even Response.WriteBlock and still nothing.
I am trying to find a way to print out the word "Success" with all the
debug text. Any ideas?
Dominic Godin
I have an asp page that does a lot of processing and reports it's
finished by printing the word "Success". For example:
<% SomeFunction(SomeVar)
SomeFunction(SomeVar1)
SomeFunction(SomeVar3)
Response.Write("Success")
%>
For one of our clients the word "Success" no longer appears. The page
is stuck loading. I have checked the log files created by the
processing function and they all complete their tasks successfully.
Even stranger still if I add some debugging code to the function:-
<% Function SomeFunction (SomeVar)
For i = 0 to ABigNumber
...Do some stuff...
Response.Write ("Some debug text")
Response.Flush
Next
End Function %>
This will print out all the debugging text and the wanted word
"Success". I tab the two Response lines out and the page never loads.
Put then back in and the page prints all the text and loads fine.
It seems that if you don't keep the response object busy it will stop
working after a few minutes. I have tried Response.End, Response.Flush
even Response.WriteBlock and still nothing.
I am trying to find a way to print out the word "Success" with all the
debug text. Any ideas?
Dominic Godin