欢迎光临爱时尚女性网
 

在一个ASP页面停留的多少时间的程序

2013-1-31 编辑:admin 来源:爱时尚女性网 阅读次数:713
  导读:asp Source Code: ---------------------------------------------------------------------- You haven't clicked on the link below yet. You spent seconds looking at the PRevious page. How long have I spent on this page? This script passes the ...
asp Source Code:

----------------------------------------------------------------------
<% If Request.QueryString("time") = "" Then %>
You haven't clicked on the link below yet.

<% Else %>
You spent <%= DateDiff("s", Request.QueryString("time"), Now()) %>
seconds looking at the PRevious page.

<% End If %>


How long have I
spent on this page?




This script passes the time in a QueryString parameter. You could
just as
easily store it in a session variable, log it to a database, or write
it to
a text file. It all depends upon what you intend to use the
information
for.


----------------------------------------------------------------------




ASP Source Code:




----------------------------------------------------------------------




<% If Request.QueryString("time") = "" Then %>
You haven't clicked on the link below yet.

<% Else %>
You spent <%= DateDiff("s", Request.QueryString("time"), Now()) %>
seconds looking at the previous page.

<% End If %>


How long have I
spent on this page?




This script passes the time in a QueryString parameter. You could
just as
easily store it in a session variable, log it to a database, or write
it to
a text file. It all depends upon what you intend to use the
information
for.

文章出自:爱时尚女性网www.aspjc.com,尊重版权是美德,转载请保留原地址,感谢合作!

 
 
链接交换请联系:QQ:790646582 首页链接要求百度快照在一周以内,不符合以上要求的各站,我们将定期把友情连接转入内页,谢谢合作。
Copyright @ 2012-2015 爱时尚女性网 保留所有权利吉ICP备14005127号-1 服务QQ:175529508 e-mail:zk8312@163.com
本站部分资源来自网友上传,如果无意之中侵犯了您的版权,请联系本站,本站将在3个工作日内删除。