묻고답하기

로그인후 페이지를 이동하다보면 세션이 자구 사라집니다.
그후 로그인이 되질 않습니다.
현재 서버에 여러 홈페이지를 돌리구 있구요 세션 저장은 세션디렉토리를 따로 만들어서 저장하고 있고
몇몇 사이트는 사이트마다 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 남기남
이돈혁 아파치서버 트레픽제한 [3] 2007.08.10
김남현 세션관련 질문입니다. 제발 답변좀 부탁 드립니다.  
김연기 iis 다운 받는곳은 없나요 -_-;; [1] 2007.08.10
김동신 한메일 계정 회원가입 막기.. [2] 2007.08.10
김민성 [APM]으음 웹 방님 말대로 했는데도... [2] 2007.08.10
제로맨 파일 손상으로 도움 요청합니다.(재 요청...ㅡㅜ;;) [1] 2007.08.10
김우식 한 계정에서 제로카운터 여러개 돌릴수 있는지요...? [3] 2007.08.10
유성재 동일 IP로 접속해도 카운터가 올라가지 않게 할수 없을까요? [2] 2007.08.10
개장수 이걸 if문 안으로 넣으려면 어떻게 수정해야 하나요? [2] 2007.08.10
으아 폼메일에 관한 질문입니다. (제발 봐주세요...ㅜ_ㅡ) [4] 2007.08.10
푸른이™ 리눅스에서 dnip 서비스 셋팅 방법이 궁금합니다. [3] 2007.08.10
최석종 스타일 시트때문에 그러는데요 꼭좀 답변부탁 [1] 2007.08.10
won 폼메일 무조건 어떤 사람에게 가게 하는 법좀... [4] 2007.08.10
이순희 초기화면에 스케줄 나타나는 거 php [2] 2007.08.10
최지호 div 테그에 관한 질문입니다.  
카라멜프라푸치노 도메인을 사용할 때 카운터가 올라가는 원리 [1] 2007.08.10
이지혜 제로보드 게시판 배경 고정방법  
김연기 아주가끔은님께 ..질문 [2] 2007.08.10
이현영 스타일XP 정9체 적용방법???  
윤희 배경이.. [1] 2007.08.10
김민성 이거 어떻게 바꾸요? 업로드 용량이요. [1] 2007.08.10
MiNoBaN 제발 좀 알려주세요 ㅠㅠㅜㅜㅜ [3] 2007.08.10
백종욱 저좀 도와주세요... [2] 2007.08.10
i1ovesoony ASP 호스팅 업체 추천 부탁드립니다. [1] 2007.08.10
baum0 글씨 태그에 관한건데요 [2] 2007.08.10
이예진 닭님, 이종해님.. 이분들 아니라도 좋으니까 제발 좀! [4] 2007.08.10
김연기 리사파파님께서 만드신 apm 쓰는데.... 이런 메시지가 ;; [3] 2007.08.10
김연기 리사파파님의 apm쓰는데 이런메시지가..; 죄송 아래도 글이 있음에도 ;;  
김민성 도메인이 먼가요?  
나의전부 노프레임 관련 질문입니다!! 개념적인 기초... [3] 2007.08.10