<!--#include file="data.asp"-->
<%
xm=request("txtxm")
mm=request("txtmm")
rzm=request("txtrzm")
sql="select *from ziliao where id="&rzm&" and 密码='"&mm&"' and 姓名='"&xm&"'"
rs.open sql,conn,1,3
if not rs.eof then
xm=rs("姓名")
session("id")=rs("id")
session("mm")=rs("密码")
response.redirect"zxywgl.asp?id="&rzm
end if
response.redirect"zxyw.asp"
rs.close
set rs=nothing
%>