<%if Session("weight")<>5 then 
Response.Redirect "error.asp?cause=4"
 end if
%>
<object runat=server id=conn1 progid="adodb.connection"></object>
<%application.Lock
conn1.Open Application("p_jyzx")
Application.UnLock
%>
<%
 set rs=server.CreateObject ("ADODB.recordset")
  rs.Supports ( adUpdate )
   sql="select * from admin"
   rs.Open sql,conn1,2,3
  if rs.RecordCount<>0 then
	rs("admin_id")=Request("admin_id")
	rs("passwd")=Request("passwd")
	
	
	rs.Update
  end if
  Response.Redirect "manager_info.asp"
%>
