Как определить, прошло ли 3,5 минуты с помощью vbscript?
<%On Error Goto 0
Dim timer, timeNow, timeStart
timeStart = Request.Cookies("timeStart")
'timeNow = time()
If Trim(timeStart) = "" Then
Response.Cookies("timeStart") = Now()
End If
Response.Write "timeStart: " & timeStart
' if it is past 3 1/2 minutes later
If Now() > timeStart Then
%>
<!-- 'call javascript function? -->
Call Javascript Exit Survey
<%
End If
%>