How much time does the program stay on an ASP page
ASP Source Code:
----------------------------------------------------------------------
<% If Request.QueryString ("time") = "" Then%>
You are haven ' t clicked on the link below yet.<br>
<% Else%>
You are spent <%= DateDiff ("s", Request.QueryString ("Time"), now ())%>
Seconds looking at the previous page.<br>
<% End If%>
<BR>
<a href= "time.asp?time=<%= Server.URLEncode (Now ())%>" >how long have I
Spent on this page?</a><br>
<BR>
This script passes the QueryString parameter. You could
Just as
Easily store it in a sessions variable, log it to a database, or write
it to
A text file. It all depends upon what your intend to use the
Information
For.
----------------------------------------------------------------------
ASP Source Code:
----------------------------------------------------------------------
<% If Request.QueryString ("time") = "" Then%>
You are haven ' t clicked on the link below yet.<br>
<% Else%>
You are spent <%= DateDiff ("s", Request.QueryString ("Time"), now ())%>
Seconds looking at the previous page.<br>
<% End If%>
<BR>
<a href= "time.asp?time=<%= Server.URLEncode (Now ())%>" >how long have I
Spent on this page?</a><br>
<BR>
This script passes the QueryString parameter. You could
Just as
Easily store it in a sessions variable, log it to a database, or write
it to
A text file. It all depends upon what your intend to use the
Information
For.
----------------------------------------------------------------------