标题:菜鸟问题,谢谢回答
取消只看楼主
studyer
Rank: 1
等 级:新手上路
帖 子:14
专家分:0
注 册:2008-5-2
 问题点数:0 回复次数:1 
菜鸟问题,谢谢回答
一个跳转语句后有必要再写上一句response.end吗?
例如:
dim from_url,serv_url
from_url=cstr(request.ServerVariables("HTTP_REFERER")
serv_url=cstr(request.ServerVariables("SERVER_NAME")
if mid(from_url,8,len(serv_url))<>serv_url then
    response.Write("<script>alert('警告!你正在从网站外部提交数据');this.location.href='"&url&"';</script>")
    response.End
end if
这句response.end是不是多余?
搜索更多相关主题的帖子: url serv response cstr 
2008-06-02 11:22
studyer
Rank: 1
等 级:新手上路
帖 子:14
专家分:0
注 册:2008-5-2
得分:0 
谢谢,那这句response.end就是多余的了
2008-06-02 11:46



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-217128-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.404423 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved