Foros del Web » Programando para Internet » ASP Clásico »

Response.Redirect, .clear, .buffer, .End

Estas en el tema de Response.Redirect, .clear, .buffer, .End en el foro de ASP Clásico en Foros del Web. que es este codigo ASP??' Response.buffer = true Response.clear Response.Redirect(pagina) Response.End...
  #1 (permalink)  
Antiguo 09/06/2004, 08:40
 
Fecha de Ingreso: enero-2002
Mensajes: 1.438
Antigüedad: 22 años, 5 meses
Puntos: 0
Response.Redirect, .clear, .buffer, .End

que es este codigo ASP??'

Response.buffer = true
Response.clear
Response.Redirect(pagina)
Response.End
  #2 (permalink)  
Antiguo 09/06/2004, 09:36
Avatar de AlZuwaga
Colaborador
 
Fecha de Ingreso: febrero-2001
Ubicación: 34.517 S, 58.500 O
Mensajes: 14.550
Antigüedad: 23 años, 3 meses
Puntos: 535
Response.buffer = true
Response.clear
Response.Redirect(pagina)
Response.End
  #3 (permalink)  
Antiguo 14/06/2004, 04:28
 
Fecha de Ingreso: enero-2002
Mensajes: 1.438
Antigüedad: 22 años, 5 meses
Puntos: 0
gracias daguza

In the code example, there is no output because the loop does not finish and the Buffer will not empty until the script has finished. If the buffer was set to False, then the Response.Write would write the number to the browser every time it went through the loop.

Code:
<%
Response.Buffer = TRUE
x=0
Do
x = x+1
Response.Write x & "<BR>"
Loop
%>
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 21:28.