묻고답하기

로그인후 페이지를 이동하다보면 세션이 자구 사라집니다.
그후 로그인이 되질 않습니다.
현재 서버에 여러 홈페이지를 돌리구 있구요 세션 저장은 세션디렉토리를 따로 만들어서 저장하고 있고
몇몇 사이트는 사이트마다 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 남기남
최석종 스타일 시트때문에 그러는데요 꼭좀 답변부탁 [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
이정엽 게시판DB에서 father, child, prev_no는 어떤용도인지요? [1] 2007.08.10
김성종 최근게시물 스킨 없이 게시판 바로 뛰우기 [3] 2007.08.10
김성종 최근게시물 스킨없이 게시판 바로 띄우기? [2] 2007.08.10
::EvenStar:: 아이프레임에도 스크롤바 색이 생기게 하려면? [1] 2007.08.10
블르[Crato,] 이상하네요;ㅂ;  
고냉이 콱! mysql을 지우는 명령어는??? [1] 2007.08.10
김성종 게시판을 최근 게시물 스킨을 사용하지 않고 일정한 틀에 바로 띄울 수 있나요? [4] 2007.08.10
비아 DB 에 자료를 넣는데 자꾸 무한 오류가 나는군요.  
강대형 PHP와 자바스크립트 같이 사용시 컴파일 순서? [2] 2007.08.10
히야♡ 아이프레임을요.. 표처럼 사용할수없나요? 제로보드매니아님들 답변좀부탁드려요~ [6] 2007.08.10
cocoroo 나모로 코딩하는 웹디분들,프로그래머들한테 왕따 안당하시나요 [2] 2007.08.10