======================================================================== Lib.IpCountry.asp 수정본 작성일 : 2026-09-08 대상 : /common/lib/Lib.IpCountry.asp ======================================================================== [변경 내용] 1. 함수 진입 즉시 iP_Ret_CountryCode = "" 로 초기화 -> 어떤 경로로 빠져나가도 Empty 가 아닌 문자열을 반환한다. 이 한 줄이 이번 장애의 재발을 막는 핵심이다. 2. setTimeouts 추가 -> 기존에는 타임아웃이 없어 API 무응답 시 다운로드 요청이 그대로 매달렸다. 3. http:// -> https:// 4. 응답 상태·본문 검증 후에만 JSON 파싱 -> JSON 이 아니면 For Each 를 시도하지 않는다. 5. Dim 으로 변수 명시 선언 (기존에는 query, serviceKey, answer 등이 전역으로 샜다) ======================================================================== [교체 코드] 아래 전체를 기존 iP_Ret_CountryCode 함수와 맞바꾼다 ======================================================================== 'IP로 해당 국가 확인 API Function iP_Ret_CountryCode(sIp) Dim proxip, proxip_arry, xmlhttp, sResponse, oJSON, row, this Dim serviceKey, api_url ' [핵심] 어떤 경우에도 Empty 를 반환하지 않는다. ' Empty 가 AddParam 으로 넘어가면 ADO 가 해당 파라미터를 ' "미공급"으로 처리해 INSERT 전체가 실패한다. ' (2025-12-05 DOWN_LOG 적재 중단의 직접 원인) iP_Ret_CountryCode = "" On Error Resume Next 'AWS 프록시 서버 통신 일경우 체크 : 체인의 첫 번째가 실제 클라이언트 proxip = Request.ServerVariables("HTTP_X_FORWARDED_FOR") & "" If proxip <> "" Then proxip_arry = Split(proxip, ",") sIp = Trim(proxip_arry(0)) End If If Trim(sIp & "") = "" Then Exit Function serviceKey = "rqND5%2BMKZUuww7c4LoBFj2GtHxFUmFxd8DiJd4F%2BJ7UBk08SZSbUFn90iigWB7mi8Dx0pt42yuePqUNTXCAqdQ%3D%3D" ' serviceKey 는 이미 URL 인코딩된 값이므로 다시 인코딩하지 않는다. api_url = "https://apis.data.go.kr/B551505/whois/ip_address" & _ "?serviceKey=" & serviceKey & _ "&query=" & Server.URLEncode(sIp) & _ "&answer=json" Set xmlhttp = Server.CreateObject("Msxml2.ServerXMLHTTP") If Err.Number <> 0 Then Err.Clear : Exit Function ' [추가] 무한 대기 방지 (resolve, connect, send, receive / ms) xmlhttp.setTimeouts 2000, 2000, 3000, 3000 xmlhttp.Open "GET", api_url, False xmlhttp.setRequestHeader "Content-Type", "application/json; charset=UTF-8" xmlhttp.setRequestHeader "Accept", "application/json" xmlhttp.send If Err.Number <> 0 Then Err.Clear Set xmlhttp = Nothing Exit Function End If If xmlhttp.Status <> 200 Then Set xmlhttp = Nothing Exit Function End If sResponse = xmlhttp.responseText Set xmlhttp = Nothing ' JSON 이 아니면(에러 XML 등) 파싱 자체를 시도하지 않는다. If InStr(sResponse, "{") = 0 Then Exit Function Set oJSON = New aspJSON oJSON.loadJSON(sResponse) If Err.Number <> 0 Then Err.Clear Set oJSON = Nothing Exit Function End If For Each row In oJSON.data("response") If row = "whois" Then Set this = oJSON.data("response").item(row) iP_Ret_CountryCode = this.item("countryCode") & "" End If Next If Err.Number <> 0 Then Err.Clear Set oJSON = Nothing On Error Goto 0 END Function Suprema | Security & Biometrics
Blog de noticias y artículos [ES]
Comunicados de prensa más recientes de Suprema
Suprema’s BioStation 3 Wins a Series of Awards in Europe
December 02, 2022

SEOUL, KOREA December 2, 2022 – Suprema, a global leader in access control and biometrics, was honored to win the silver trophy for its new BioStation 3 access control terminal at Europe's largest international security and safety system-related exhibition, ExpoProtection 2022, which was held from November 15th to 17th.

The ExpoProtection exhibition is held in Paris, France, once every two years, and attracts around 800 exhibitor companies and more than 20,000 visitors on average. The event’s awards ceremony recognizes the most innovative products in different categories, including safety equipment, firefighting gear, security systems, and so on. The ExpoProtection 2022 Awards ceremony featured 52 nominations, with only 15 products receiving awards. Among the winners, Suprema’s BioStation 3 access control terminal took the silver trophy in the safety and security category.

BioStation 3 was recognized for its innovativeness and convenience as an intelligent security system that provides various access authentication options such as facial recognition, RFID cards, QR codes, barcodes, and mobile access. This includes the feature ‘Face Template on Mobile’, making it possible to store the individual’s facial authentication on a smartphone, meaning the biometric information is held securely in the smartphone as a data subject and complying with GDPR. In addition, BioStation 3 provides 100% contactless authentication with or without masks, in line with a market environment where the reactions to the COVID-19 pandemic have brought contactless security solutions to the fore. Also, BioStation 3 provides VoIP Intercom which enables seamless communication with all doors and comes equipped with the security industry’s first AI processor enhanced with an NPU (Neural Processing Unit), providing the highest level of performance in facial recognition access authentication.

In October, at the international security exhibition 'SKYDD 2022' held in Stockholm, Sweden, the BioStation 3 won the 'Best Product' award in the access control category at the 'Detektor International Award 2022', which is the most prestigious security technology award in Europe.

“These consecutive prizes are a recognition of our R&D hard work during the pandemic. Suprema launched BioStation 3 by thoroughly analyzing the existing access control system's problems, market needs, user experience, and defining technical requirements.” said Suprema Europe and North Africa, Sales Director, Baudouin Genouville. “It reflects 20 years of Suprema strategy to invest in design and technological innovation aggressively to bring the security market forward and confirm its leading position in secure access control and biometric identification.”

 

¿Cómo podemos ayudarte?

Por favor complete el formulario debajo y lo contáctaremos en breve.

Si requiere asistencia técnica, por favor presione el botón debajo.

Soporte Técnicochevron_right
Su correo electrónico *
Nombre completo *
País *
Empresa *
Teléfono *
Enviar

Gracias.

Su consulta se envió correctamente.

Nos comunicaremos pronto con usted.

Su correo electrónico: partner@gmail.com