复制代码 代码如下:
<%
response.write "<br>"
call server_update("cache")
call server_update("session")
response.write "<br>虚拟主机重启成功!"
sub server_update(byval strt)
if strt="" then strt=request.querystring("delete")
select case strt
case "cache"
Application.Lock
application.contents.Removeall
Application.unLock
response.write "Delete Cache Succeed!<br>"
case "session"
session.Abandon
response.write "Delete Session Succeed!<br>"
end select
end sub
%>
保存为iisrestar.asp
<%
response.write "<br>"
call server_update("cache")
call server_update("session")
response.write "<br>虚拟主机重启成功!"
sub server_update(byval strt)
if strt="" then strt=request.querystring("delete")
select case strt
case "cache"
Application.Lock
application.contents.Removeall
Application.unLock
response.write "Delete Cache Succeed!<br>"
case "session"
session.Abandon
response.write "Delete Session Succeed!<br>"
end select
end sub
%>
保存为iisrestar.asp
标签:
虚拟主机重启代码
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
桃源资源网 Design By www.nqtax.com
暂无“虚拟主机重启代码”评论...