刷新父级页面
Response.Write("<script>alert('操作成功!');parent.location.reload();</script>")

父级页面跳转
Response.Write("<script>alert('操作成功!');parent.location.href='http://www.cneoe.com/';</script>")

刷新来路页面
Response.Write("<script>alert('操作成功!');this.location.href='"&request.ServerVariables("HTTP_REFERER")&"';</script>")

跳转到页面
Response.Write("<script>alert('操作成功!');window.location.href='xxx.asp';</script>")

退到原页面
Response.Write("<script>alert('请输入用户名!');history.back();</script>")

关闭窗口
Response.Write("<script>alert('关闭窗口!');window.close();</script>")

返回上一页并刷新,解决后台从外部进入问题
Response.Write("<script>self.location=document.referrer;</script>")