% Dim uid, rse, width, rsRole, isAdmin uid = request.Cookies("uid") if trim(Lcase(AdminName)) = "admin" then isAdmin = true else isAdmin = false end if set rse = conn.execute("select devicename from t_dev_property where uid = '" & uid & "'") %>