Ver Mensaje Individual
  #1 (permalink)  
Antiguo 01/07/2002, 16:01
Avatar de Jokin
Jokin
 
Fecha de Ingreso: enero-2002
Mensajes: 725
Antigüedad: 23 años, 3 meses
Puntos: 1
Urge: por jugar con el global.asa web bloqueada!!!

Saludos:

...si desde luego, lo que no me pase a mi....
...se me ocurre insertar el archivo global.asa en mi web para contar usuarios activos (código copiado de una web d asp) y en la página principal index.asp una sencilla línea:

index.asp
Cita:
<%=application("vactivos")%>
global.asa
Cita:
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
Sub Application_OnStart
Dim Auxiliar()
Redim Auxiliar(9)
Application("Opiniones")=Auxiliar
application("vactivos")=0
application("fecha")=date()
application.lock
application("vactivos")=application(&quo t;vactivos")+1
application.unlock
End Sub

Sub Application_OnEnd
application.lock
application("vactivos")=application(&quo t;vactivos")-1
application.unlock
End Sub

Sub Application_OnStart
application("vactivos")=0
application("fecha")=date()
End Sub

Sub Application_OnEnd

End Sub

Sub Session_OnStart
application.lock
application("vactivos")=application(&quo t;vactivos")+1
application.unlock
End Sub

Sub Session_OnEnd
application.lock
application("vactivos")=application(&quo t;vactivos")-1
application.unlock
End Sub

</SCRIPT>
Pues hay se ha acabado el funcionamiento de mi web. ERROR!!!

There is a problem with the page you are trying to reach and it cannot be displayed.

Please try the following:
• Click the Refresh button, or try again later; it does not normally take a long time for an application to restart.
• Open the www.abcmusicos.com home page, and then look for links to the information you want.
HTTP Error 500-12 Application Restarting
Internet Information Services

Technical Information (for support personnel)
• Background:
The request cannot be processed while the Web site is restarting

(joder restarting!!, si lleva dos horas, no exagero, restartiando!!)

Si ha y alguien por aquí que sepa qué me ocurre le agradeceré me lo indicara. Gracias