<%if Session("weight")=0 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")
sql="delete * from party_discuss where discuss_id="&Request("discuss_id")
rs.open sql,conn1,3,2

Response.Redirect "party_manager_party.asp?id="&Request("id")
%>