Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pause for long request?
Message
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00635071
Message ID:
00635307
Vues:
22
>I have a long request in the middle of an ASP page.
>
>Something like that:
>
>< % ERROR: @ Language=VBScript  % >
>< % ERROR:  response.buffer = True  % >
>  Set lo = Server.CreateObject("webServer.comeclass")
>   Response.Write( lo.somemethod())&"<br>"
>   Response.Write( "Hello")&"<br>"
>
>
>How can I make second Response.Write wait till the long first Response ends output?

You can add a Response.flush after the first Response.Write to force the response buffer to send all buffered data to the client.
Michael McLain
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform