<!--#include file=CONN.ASP-->
<!--#include file=cookies.asp-->
<%
dim rs,sql,id
id=replace(trim(request("id")),"'","‘")
set rs = Server.CreateObject("ADODB.RecordSet")
sql="select id,username from [FOX_user] where id="&cstr(id)&" and shi="&session("admin_shi") 
rs.open sql,conn,1,1
if rs.eof then
response.write "<li>还没有用户数据或者错误管理！"
response.end
end if
Response.cookies("fox")("username")=rs("username")
Response.cookies("fox")("domain")=Request.ServerVariables("SERVER_NAME")
Response.cookies("fox")("id")=rs("id")
rs.close
set rs=nothing
closedb
response.redirect "../userhome.asp"
%>