易截截图软件、单文件、免安装、纯绿色、仅160KB

asp 定时执行代码如何写啊

asp 定时执行代码如何写啊
在客户端用js定时访问asp

可以用js延时,也可以用js判断时间做定时,或者asp刷新判断时间定时,下面是js延时

<html>
<head>
<script language="javascript">
j=10;
function func(){
document.getElementById("div1").innerText=j;
j++;
setTimeout("func()",1000);
}
</script>
</head>
<body onload="func();">
<div id="div1"> </div>
</body>


ASP无法直接实现,需要单独写.dll.
另外因为 ajax技术,所以现在基本都结合js来写!

UP

帮顶,我也在寻求解决方案

UP 帮顶

创建1个批命令文件url.bat:
start http://www.abc.com/xxx.asp

通过windows的“任务计划”运行这个批命令,既灵活又方便。


相关问答:

asp初学问题。response找不到

<%@language="vbscript"%>
<%option explicit%>
<html>
<head> <title>xxx </title> </head>
<script language=vbs>
'注意变量 ......

ASP简单问题

conn.asp

<%
Set Conn=Server.CreateObject("ADODB.Connection")
Conn.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0; Data Source="&server.MapPath("Connt ......

一段asp转php

<%if request.QueryString("start") <>"" then%>
<%if cint(start)>0 then%>
<a href="search.asp?q= <%=q%>&start= <%if request.Query ......

asp 截取文件扩展名

我有一个文件名  aaa.bbb.rar或者a.b.c.d.html或者aa.b.dd.shtml
我怎样截取文件的后缀名呀。。。
<%
aa="aaa.bbb.rar"
bb=split(aa,".")
response.write bb(ubound(bb)) ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号