您现在的位置是:网站首页> 编程资料编程资料
虚拟主机重启代码_应用技巧_
2023-05-25
239人已围观
简介 虚拟主机重启代码_应用技巧_
复制代码 代码如下:
<%
response.write "
"
call server_update("cache")
call server_update("session")
response.write "
虚拟主机重启成功!"
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!
"
case "session"
session.Abandon
response.write "Delete Session Succeed!
"
end select
end sub
%>
保存为iisrestar.asp
