// ÅëÇÕ ¸â¹ö½Ê SSO È£Ãâ & Äí±â°ËÁõ function callServer(){ headElement = document.getElementsByTagName("head").item(0); var scriptTag = document.createElement("script"); scriptTag.setAttribute("type", "text/javascript"); scriptTag.setAttribute("src","http://sso.cjone.com:8004/nls3/ajaxCookieCheck.jsp?SYSTEMNAME=SEAFOODOCEAN"); headElement.appendChild(scriptTag); } // Äí۰ËÁõÀ» ¼º°øÀûÀ¸·Î ¼öÇà ÈÄ SSO ajaxCookieCheck.jsp ¿¡¼­ Call ÇÏ´Â ÇÔ¼ö·Î ·ÎÄà ÄíŰ»ý¼º function callFunction( receiveData ) { if (receiveData != "C" && receiveData != "N" && receiveData != "") { // SSO ·Î±×ÀÎÀÌ µÇ¾î ÀÖÀ¸¸é -> ÀÚµ¿ ·Î±×ÀΠó¸® var HidSessionFrame = document.getElementById("HidSessionFrame"); HidSessionFrame.src = "/CJFVInclude/IMAPI/make_session.asp?res="+receiveData+"&bus=main"; } else { location.href = "http://www.seafoodocean.co.kr/main.html?ssoCheck=OK"; } } callServer();