<% If user="cnbruce" and pwd="cnbruce" Then response.write "采用clear方法,上面的程序结果将清除。" response.clear ' 清空存储在缓存中的页面 Else response.write "采用end方法,下面的程序将停运。" Response.End ' 立即停止脚本处理,并将缓存中的页面输出 End If %> 如果你只看到“刷新”链接就表明clear方法已经生效<br> <a href="<%=filepath%>">刷新</a>