Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 파라미터 & 오류
- usb efi 시스템 파티션 삭제
- apple push notification service (apns) is changing
- 비밀번호검증정규식
- php 배열제거
- VS Code 서버설치
- 비밀번호정규식
- mariadb upgrade
- usb 삭제
- sha-2 root
- 자바스크립트비밀번호검증
- php 이미지 url 검증 함수
- mod_security2 설치
- 아파치 웹 서버의 정보 숨기기
- modsecurity 설치
- wsl2 우분투에 docker 설치
- PHP 정규식 예제
- thumbnail 클래스
- 윈도우 mod_security2
- bootstrap
- bootstrap modal
- 유튜브 플레이 리스트 저장
- 윈도우 환경 아파치 mod_security2 설치
- 숫자 3자리(천단위) 마다 콤마 찍기
- group_concat 구분자
- httpd.conf 보안 설정
- PHP 세션 처리
- javascript
- postfix 설치
- html pdf 변환
Archives
- Today
- Total
목록2026/02/24 (1)
투덜이 개발자
[PHP] 세션 처리
30분(inactivity) 지나면 강제 로그아웃 1) 공통 include 파일: session_guard.php $INACTIVITY_LIMIT) { // 만료 처리: 세션 파기 + 쿠키 제거 + 리다이렉트 session_unset(); session_destroy(); // 세션 쿠키 제거 if (ini_get('session.use_cookies')) { $params = session_get_cookie_params(); setcookie(session_name(), '', time() - 3600, $params['path'] ?? '/', ..
Program Language/PHP
2026. 2. 24. 16:39
