<% ip = Request.ServerVariables("REMOTE_ADDR") cerez = Request.Cookies("Memis_portal")("ip") set banla = Server.CreateObject("ADODB.RecordSet") SQL="Select IP,rumuz,tarih from LOGLAR where BANLiMi like 1" banla.open SQL,connect,1,3 if not banla.eof then %> <% For s = 1 To banla.RecordCount %> <% if banla("IP" ) = ip or banla("rumuz") = session("rumuz") or banla("IP" ) = cerez Then %> <% Response.End End If %> <% banla.MoveNext NEXT %> <% End If banla.Close Set banla = Nothing %>