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

恰好你是光耶

恰好你是光耶

2016-01-29 17:14

在一个ASP页面停留的多少时间的程序,在一个ASP页面停留的多少时间的程序
  ASP Source Code:


----------------------------------------------------------------------
<% If Request.QueryString("time") = "" Then %
You haven't clicked on the link below yet.<BR
<% Else %
You 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 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.<BR
<% Else %
You 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 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.

 
展开更多 50%)
分享

猜你喜欢

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

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

用ASP统计用户在站点的停留时间

ASP
用ASP统计用户在站点的停留时间

s8lol主宰符文怎么配

英雄联盟 网络游戏
s8lol主宰符文怎么配

用ASP做一个分页程序

ASP
用ASP做一个分页程序

用ASP统计用户在站点的停留时间(2)

ASP
用ASP统计用户在站点的停留时间(2)

lol偷钱流符文搭配推荐

英雄联盟 网络游戏
lol偷钱流符文搭配推荐

用ASP统计用户在站点的停留时间(1)

ASP
用ASP统计用户在站点的停留时间(1)

一个查看ASP的javascript程序

ASP
一个查看ASP的javascript程序

lolAD刺客新符文搭配推荐

英雄联盟
lolAD刺客新符文搭配推荐

负载平衡环境下的ASP会话管理(2)

负载平衡环境下的ASP会话管理(2)

利用ASP实现三个强大功能之三

利用ASP实现三个强大功能之三
下拉加载更多内容 ↓