%
temp=request("typeid")
if not IsNumeric(temp) then
response.end
end if
%>
<%
session.Abandon
set rs=server.createobject("adodb.recordset")
sql="select * from type"
rs.open sql,conn,1,3
flagc=0
while not rs.eof
if trim(rs("typeid"))=request("typeid") then
flagc=1
end if
rs.movenext
Wend
if flagc=0 then
response.end
end if
%>