<%if request.QueryString("action")="logout" then
set rsuser=server.CreateObject("adodb.recordset")
rsuser.open"select * from love_user where user_name='"&request.Cookies("f_user_name")&"'",conn,1,3
rsuser("f_online")=0
rsuser.update
rsuser.close
set rsuser=nothing
response.Cookies("f_user_name")=""
response.Cookies("f_user_cuname")=""
response.Cookies("f_user_userid")=""
response.Redirect("index.asp")
end if
%>