<% data_path="../../" 'ACC连接数据库路径，对SQL无效 %>
<!--#include file="../../conn/conn.asp"-->
<%  
 sql="SELECT * from Websen_web_manage_log " 
set rs=server.createobject("ADODB.Recordset") 
rs.Open sql,conn, 1, 3 
rs.addnew  
rs("cs")=1  
rs("ip")=request.servervariables("remote_addr") 
rs("dat")=now()
if isSession=0 then
if Request.Cookies("username")<>"" then
rs("admin_username")=Request.Cookies("username")
else
rs("admin_username")="尝试登陆"
end if

else
if session("globalecmaster")<>"" then
rs("admin_username")=session("globalecmaster") 
else
rs("admin_username")="尝试登陆"
end if

end if

 rs("dat1")=now()  
  rs.update
rs.close
  
%>