모바일 레이어 팝업에서 쿠키 관련 문제 채택완료
안녕하세요!
PC에서는 레이어 팝업에서 "24시간 동안 다시 열람하지 않습니다."가 잘 먹히는데,
모바일에서는 클릭을 해도 먹히지 않고 있습니다.
사이트 주소는 http://osanchurch.net 입니다.
개발자 페이지에서 나오는 에러는 다음과 같습니다.
index.html?device=mobile:58
Uncaught ReferenceError: set_cookie is not defined
at HTMLButtonElement.
=============================
찍어보면, 58번째 라인은 newwin.inc.php에서 set_cookie(ck_name, 1, exp_time, g5_cookie_domain); 을 가리키고 있습니다.
mobile/newwin.inc.php 소스는 다음과 같습니다.
=====================================================
$sql = " select * from {$g5['new_win_table']} where '".G5_TIME_YMDHIS."' between nw_begin_time and nw_end_time and nw_device IN ( 'both', 'mobile' ) order by nw_id asc "; $result = sql_query($sql, false); ?>
팝업레이어 알림
조언 부탁드립니다.
답변 1개
답변을 작성하려면 로그인이 필요합니다.
로그인