0
서버에 호스팅 된 여러 사이트가 있고 대부분 사용자가 로그인 할 때 세션을 사용합니다.여러 사이트의 PHP 세션
예를 들어, 사용자 로그인이 성공하면 세션 변수는 $_SESSION["loggedin"] = 'yes'
입니다.
이 여러 사이트에서 동일하지만 동시에이 개 사이트를 말할 로그인 경우 그 중 하나가 작동을 중지하고 이러한 오류를 표시합니다 다음 loggedin
세션 변수 authorisation.php
검사 :
Warning: session_start() [function.session-start]: open(/tmp/sess_8f7b4997fbfdd08855a410ae4638821f, O_RDWR) failed: Permission denied (13) in /home/theboaty/public_html/new_site/admin/authorisation.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/theboaty/public_html/new_site/admin/authorisation.php:2) in /home/theboaty/public_html/new_site/admin/authorisation.php on line 2
Warning: Cannot modify header information - headers already sent by (output started at /home/theboaty/public_html/new_site/admin/authorisation.php:2) in /home/theboaty/public_html/new_site/admin/authorisation.php on line 5
Warning: Unknown: open(/tmp/sess_8f7b4997fbfdd08855a410ae4638821f, O_RDWR) failed: Permission denied (13) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
주 사용자가 로그인했는지 확인하려면
당신이 (실수 또는 목적이나) 사이트간에 동일한 세션 ID를 공유 :이 허용되지 않는 경우
, 나는 당신이 마주 사이트에서 세션 변수의 이름을 변경 제안? –
새 사이트를 추가하면 코드가 복사됩니다. 목적에 부합하지 않음 – charlie
Firefox를 사용하는 경우 페이지를 마우스 오른쪽 버튼으로 클릭하고 "페이지 정보보기 -> 보안 -> 쿠키"를 선택하여 쿠키 관리자에 접근 할 수 있습니다. –