묻고답하기

로그인후 페이지를 이동하다보면 세션이 자구 사라집니다.
그후 로그인이 되질 않습니다.
현재 서버에 여러 홈페이지를 돌리구 있구요 세션 저장은 세션디렉토리를 따로 만들어서 저장하고 있고
몇몇 사이트는 사이트마다 session_save_path()함수를 써서 각각의 디렉토리에 저장합니다.
잘되다가 않될경우 아파치를 재시작 하면 로그인이 잘됩니다.
php.ini파일에 문제가 있는것인지 아니면 다른 문제가 있는것인자 답변 부탁 드립니다.
php버젼은 4.3.3입니다.
아래는 세션에 관련된 php.ini파일의 내용입니다.
참 세션이 없어질때 세션파일이 더 생성이 되네요...
세션키값이 있는데도 서버가 그것도 모르고 다른 키를 계속 생성하는것 같습니다.

[Session]
; Handler used to store/retrieve data.
session.save_handler = files

; Argument passed to save_handler.  In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
; As of PHP 4.0.1, you can define the path as:
;    session.save_path = "N;/path"
; where N is an integer.  Instead of storing all the session files in
; /path, what this will do is use subdirectories N-levels deep, and
; store the session data in those directories.  This is useful if you
; or your OS have problems with lots of files in one directory, and is
; a more efficient layout for servers that handle lots of sessions.
; NOTE 1: PHP will not create this directory structure automatically.
;        You can use the script in the ext/session dir for that purpose.
; NOTE 2: See the section on garbage collection below if you choose to
;        use subdirectories for session storage
session.save_path = /home/session

; Whether to use cookies.
session.use_cookies = 1

; This option enables administrators to make their users invulnerable to
; attacks which involve passing session ids in URLs; defaults to 0.
; session.use_only_cookies = 1

; Name of the session (used as cookie name).
session.name = PHPSESSID

; Initialize session on request startup.
session.auto_start = 0

; Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 0

; The path for which the cookie is valid.
session.cookie_path = /

; The domain for which the cookie is valid.
session.cookie_domain =

; Handler used to serialize data.  php is the standard serializer of PHP.
session.serialize_handler = php

; Define the probability that the 'garbage collection' process is started
; on every session initialization.
; The probability is calculated by using gc_probability/gc_divisor,
; e.g. 1/100 means there is a 1% chance that the GC process starts
; on each request.

session.gc_probability = 1
session.gc_divisor    = 100

; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440

; NOTE: If you are using the subdirectory option for storing session files
;      (see session.save_path above), then garbage collection does *not*
;      happen automatically.  You will need to do your own garbage
;      collection through a shell script, cron entry, or some other method.
;      For example, the following script would is the equivalent of
;      setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
;          cd /path/to/sessions; find -cmin +24 | xargs rm

; PHP 4.2 and less have an undocumented feature/bug that allows you to
; to initialize a session variable in the global scope, albeit register_globals
; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
; You can disable the feature and the warning seperately. At this time,
; the warning is only displayed, if bug_compat_42 is enabled.

session.bug_compat_42 = 1
session.bug_compat_warn = 1

; Check HTTP Referer to invalidate externally stored URLs containing ids.
; HTTP_REFERER has to contain this substring for the session to be
; considered as valid.
session.referer_check =

; How many bytes to read from the file.
session.entropy_length = 0

; Specified here to create the session id.
session.entropy_file =

;session.entropy_length = 16

;session.entropy_file = /dev/urandom

; Set to {nocache,private,public,} to determine HTTP caching aspects
; or leave this empty to avoid sending anti-caching headers.
session.cache_limiter = nocache

; Document expires after n minutes.
session.cache_expire = 180

; trans sid support is disabled by default.
; Use of trans sid may risk your users security.
; Use this option with caution.
; - User may send URL contains active session ID
;  to other person via. email/irc/etc.
; - URL that contains active session ID may be stored
;  in publically accessible computer.
; - User may access your site with the same session ID
;  always using URL stored in browser's history or bookmarks.
session.use_trans_sid = 0

; The URL rewriter will look for URLs in a defined set of HTML tags.
; form/fieldset are special; if you include them here, the rewriter will
; add a hidden <input> field with the info which is otherwise appended
; to URLs.  If you want XHTML conformity, remove the form entry.
; Note that all valid entries require a "=", even if no value follows.
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
아니라라 글 작성 시 이미지(사진)용량을 줄여서 첨부할수 있을까요? [2] 2014.06.19 by 아니라라
몽실아빠 1.7.5 푸시윙 잘 되시나요 ? [4] 2014.06.19 by Double'U'
태성임 게시판 글쓰기문제 [2] 2014.06.19 by XE카오스
붐업 [초보 질문입니다.]관리자 화면에서 하단 스크립트 입력오류 [4] file 2014.06.19 by 붐업
완전초보5 제로보드 게시판에 업로드가 안되요. [1] 2014.06.19 by DoorWeb
찹싸리901 제로보드4의 로그인 스킨을 XE에서 쓸 수 있나요? [2] 2014.06.19 by 찹싸리901
qwqwwewe 도메인 연결 관련 질문입니다. [2] 2014.06.19 by qwqwwewe
qwqwwewe 게시판 ip주소 어떻게 알 수 있나요? [4] 2014.06.19 by qwqwwewe
디아네이라 Fatal error: Call to a member function getAction() on a non-object in /home/hosting_users/...에러ㅓ [3] 2014.06.19 by 디아네이라
청소년출입가능지역의족장 좀 알려주세요! [5] 2014.06.19 by 담소
geogeo123 공지사항 이미지 슬라이더 위젯이 은근히 없네요 ㅠㅠ [2] 2014.06.19 by sejin7940
뀰귤 controller 에서 html 로 context::set 사용... 제가 어디가 틀린걸까요 ㅠㅠ [7] 2014.06.19 by 이즈야
ksjksj 회원 html(iframe) 권한 부여 [2] 2014.06.20 by ksjksj
김모씨123 관리자 메뉴가 안보일때 [5] 2014.06.20 by 김모씨123
지트 스케치북5 모바일 사진 리사이즈 [1] 2014.06.20 by 모해
유샤인 좀 이상한 일이 일어나고 있네요.... [5] file 2014.06.20 by 유샤인
풍선@@ 모바일에서 유투브 레이아웃을 벗어남.. [2] file 2014.06.20 by 풍선@@
xe마스터하는그날까지 레이아웃질문드립니다 [1] file 2014.06.20 by DoorWeb
작은111 이부분이 어디에 위치해 있는지요?? [1] 2014.06.20 by sejin7940
정도길 하나의 게시판에 게시글별 등급권한을 지정시킬 수 있나요? [3] 2014.06.20 by 숭숭군
금마초딩1 Duplicate entry '0' for key 1 오류 [2] 2014.06.20 by 와우우
88번타자 게시글 작상자의 유입경로(로그분석)확인방법쫌 알려 주세요 [2] 2014.06.20 by 와우우
yujin. DB 이전 하기 문의 드립니다. [1] file 2014.06.20 by 와우우
가르송 이거 바이러스 인가요????? [3] 2014.06.20 by 와우우
이런이런88 디비 복사후 계정 설정 문의 드립니다 [1] 2014.06.20 by BJ람보
작은111 고수님의 의견을 듣고싶습니다. 마우스오버 [5] 2014.06.20 by BJ람보
가르송 xe로 이런 것두 가능한가요? [4] file 2014.06.20 by 애니즌
KANTSOFT 사이트 디자인설정 '서버에 요청중입니다. 잠시만 기다려주세요' 에러 [1] file 2014.06.20 by YJSoft
Mregg 고수님들 부탁드립니다. 파일첨부 ㅜ [1] 2014.06.20 by HSJI
차밍 갑자기 카운터가 집계를 제대로 못 합니다 [2] file 2014.06.20 by 차밍