<%


if session("userid")="" or session("adminuser")="" or session("password")="" or session("aleave")="" or session("userkey")="" then
	response.write "<script language='javascript'>" & chr(13)
	response.write "window.document.location.href='index.asp';"&Chr(13)
	response.write "</script>" & Chr(13)
	Response.End
end if
	user_id=session("userid")
	user_name=session("adminuser")
	user_pass=session("password")
	aleave=session("aleave")
	userkey=session("userkey")
if user_name="" or user_pass="" then
	Response.Write "<p align=center>你没有足够的权限访问此项或是登陆超时，请返回!!!，2秒后自动返回设置页！<script>window.setTimeout(""location.href='index.asp'"",1000);</script></p>"
	response.end
else
	session("user_id")=user_id
	session("adminuser")=user_name
	session("password")=user_pass
	session("aleave")=aleave
	session("userkey")=userkey
end if

session.timeout=600
%> 



