[JavaScript] 뒤로가기 캐치

//history.pushState 사용으로 URL 이동 후 뒤로가기 캐치. window.onpopstate = function(event) { //console.log(event.state); if(typeof call_list === "function"){ call_list(); } }; // Back Forward Cache로 브라우저가 로딩될 경우 혹은 브라우저 뒤로가기 했을…

0 Comments

[기타] 타도메인간, 프레임, 팝업 세션 유지 안되는 문제

https://firedev.tistory.com/m/entry/WEB-%ED%94%84%EB%A0%88%EC%9E%84frameiframe-%EC%82%AC%EC%9A%A9%EC%8B%9C-%EC%84%B8%EC%85%98session%EA%B0%92%EC%9D%B4-%EC%9C%A0%EC%A7%80%EB%90%98%EC%A7%80-%EC%95%8A%EA%B3%A0-%EC%82%AC%EB%9D%BC%EC%A7%80%EB%8A%94-%EB%AC%B8%EC%A0%9C%ED%95%B4%EA%B2%B0 *세션 생성하는 구간에만 코드를 작성해주면 된다서로다른 도메인을 프레임이나 아이프레임을 사용하여 같이 보여주는경우 세션이 유지되지 않는 현상이 발생할때가 있다. 우선 해결방법은 소스 제일 상단에 아래와 같이 적어준다. <?header('P3P: CP="NOI CURa…

1 Comment

[Open SSL] Let’s Encrypt SSL 갱신

SSL 인증서 갱신  Let's Encrypt 무료 SSL 인증서는 3개월 단위로 인증서가 발급됩니다. 3개월 마다 수동으로 이를 업데이트 하려면 많은 신경을 써야하고 바쁘다 보면 그냥 지나칠 경우도 있습니다. 이번 부엉이 개발자…

0 Comments

[MySql][PHP] 트랜잭션, transaction

/* Start transaction */ mysqli_begin_transaction($db_connect); try{ $query = "INSERT INTO `board` SET "; $query.= "`title` = '$title', "; $query.= "`contents` = '$new_contents', "; $query.= "`state` = '$state', "; $query.= "`writer_id`…

0 Comments

[jQuery] CDN 모음

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> <script src="https://code.jquery.com/jquery-latest.min.js"></script>

0 Comments

[BootStrap] PopOver

팝오버 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct" crossorigin="anonymous"></script> <script> $(document).ready(function(){ $('body').popover({ selector: '.id-popover', title : '아이디', trigger: 'click', sanitize: false, }).on("show.bs.popover", function(e){ // hide all other…

0 Comments

[Classic ASP]

전화번호 하이픈 추가 함수 Function addHyphen(fmemtel) Select Case Len(fmemtel) Case 8 '1588-xxxx t1 = Mid(fmemtel,1,4) t2 = Mid(fmemtel,5,4) response.write t1 & "-" &t2 Case 9 '02-xxx-xxxx t1 = Mid(fmemtel,1,2) t2…

0 Comments

End of content

No more pages to load