12063网上订票官网,爱国主义教育基地观后感,远望楼
asp source code:
----------------------------------------------------------------------
<% if request.querystring("time") = "" then %>
you havent 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.?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 havent 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.
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!!
点击进行留言回复
网友评论