28,391
社区成员
发帖
与我相关
我的任务
分享
<a href="1.asp" target="_blank">XXX下载</a>
<!--1.asp-->
<%
if session("UserName")<>"" Then
response.redirect("http://xxx.xxx.xxx/abc.rar")
response.End
Else
response.write("<script>alert('请先登录!');location.href='login.asp'</script>")
End If
%>
<%if session("UserName")<>"" then%>
<a href="http://xxx.xxx.xxx/abc.rar" target="_blank">XXX下载 </a>
<%else%>
<a href="login.asp">XXX下载</a>
<%end if%>