<% BrotherWebComSG = Request.Cookies("MyCOOKIE")("BrotherWebComSG") IF BrotherWebComSG = "" Then Response.Cookies("MyCookie")("BrotherWebComSG") = "BrotherWebComSG" SQLCounter="Insert Into counter_page (Page,datevisit,ip_address,level,origin,timein,uni) values ('"&request.servervariables("path_info")&"','"&MyDate(Formatdatetime(now,2))&"','"&request.ServerVariables("Remote_ADDR")&"',1,'"&request.ServerVariables("HTTP_REFERER")&"','"&FormatDateTime(Now,4)&"','Y')" Else SQLCounter="Insert Into counter_page (Page,datevisit,ip_address,level,origin,timein) values ('"&request.servervariables("path_info")&"','"&MyDate(Formatdatetime(now,2))&"','"&request.ServerVariables("Remote_ADDR")&"',1,'"&request.ServerVariables("HTTP_REFERER")&"','"&FormatDateTime(Now,4)&"')" End IF Set RSTSQLCounter = Server.CreateObject("ADODB.RECORDSET") RSTSQLCounter.OPEN SQLCounter, adoConnCounter %> Brother HL-4040CN