一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

判断用户及登陆权限

时间:2008-02-20 编辑:简简单单 来源:一聚教程网

<%
dim httphost 
if session("oa")="" then
   session("oa") = request.ServerVariables("HTTP_REFERER")
end if
if session("cum")="" then
   session("cum") = Request.Cookies("cookie1")
end if
httphost=request.servervariables("server_name")
if httphost<>"***.**.***.***" and session("oa")<>"http://oa.QQQQ.com/jsoa/index.nsf/iWorkroom" then
session("oa")=""
session("cum")=""

%>
  
<%
end if
%>

热门栏目