[IE FIREFOX OPERA] Idle and Deadlock

T

teo

Hallo,

on long elaborating tasks
(in example a button clicked on an .aspx page
so the hourgless appears)

I noticed that after 5 minutes
a page called
"Impossible visualizzare la pagina"
(in English a sort of "The page can't be displayed")
appears


With
IE 5.5 and 6.0
all is OK

with Firefox 2.0
all is OK

with
IE 5.0 and Opera 9
unfortunately
after 5 minutes the page
"Impossible visualizzare la pagina"
appears.

--------------------

It seems that the
IE 5.5 IE 6.0 FFOX 2.0
are "able" to keep the connection alive
so the server won't disconnet us

while
IE 5.0 and Opera 9
are NOT able to manage the idle status
and the deadlock after 5 minutes is inevitable .

-------------------

Have you experience on this?

Are there settings on the browsers to tune?

Is there a way to keep the elaborating page "alive" by code
or
by few settings on the "web.config" file... ?

-------------------
 
B

bruce barker \(sqlwork.com\)

5 minutes is too long. turn off buffering, and send data to the browser
every couple seconds (say progress dots).

-- bruce (sqlwork.com)
 
T

teo

5 minutes is too long. turn off buffering, and send data to the browser
every couple seconds (say progress dots).

How can I send data to the browser
(by using two pages, asynchronous task...) ?

You should help me a little,

below is my current scenario
with the attempt to send data to browser

(but it doesn't work,
the page with the waiting message in the Label1
has never loaded or displayed ... nothing happens)



SCENARIO:

I have a sigle page only
(and I'd like to USE one page only
if it possible, not two)




Button_Click ()

'the click will cause a Postback




'here the task code
For i = 0 to 1000



'here the longing code
...
...
...



'here the time check:
'one minute check and
'the sending data to the computer

If MyMinuteCheck > 1 then
Me.Label1.text = "Please wait 4 minutes"
Response.Redirect("Default.aspx", False)
Server.ErrorClear
End if



Next


'at last the long task ended
Me.Label1.text = "Task successefully ended"
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top