www.gusucode.com > 蓝影会员系统(淡蓝色经典)源码程序 > cu.asp
<% '====================判断用户是否有登陆===================== if session("admin")="" and session("password")="" then response.write"<SCRIPT language=JavaScript>alert('请您登陆后,再进入这个页面!');" response.write"this.location.href='index.asp';</SCRIPT>"'转向到index.asp end if %>