<!--#include file="inc/safe.asp"-->
<!--#include file="conn/conn.asp"-->
<%if session("flag")<>1 then 
session("geturl")=geturl
response.write "<script language='javascript'>"
response.write "alert('普通会员没有此权限，请先认证商贸通会员！');"
response.write"this.location.href='/login/vip.asp';</SCRIPT>"
response.end
else

sql="select url from corporation where id="&session("id")
Set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,1
response.redirect(rs("url"))
set rs=nothing
conn.close
set conn=nothing
end if
%>
