cakephp의 Session-> write 메소드에 문제가 있습니다.cakephp Session-> 리눅스에서 쓰기 문제
$ _SESSION [ '..']과 같은 값을 설정하면 다시 읽을 수 있습니다. 하지만 write 메소드를 사용하면 작동하지 않습니다.
내 문제는 여기로 동일합니다 http://www.nabble.com/Session-problem-td16684956.html
동일한 코드 창에서 작업했지만, 난이 리눅스로 이동 후 작동하지 않습니다.
모든 사용 권한 문제가 그 원인일까요? (하지만 나는 케이크 응용 프로그램 디렉토리에 대한 rw 권한을 완전히 부여했습니다).
코드 샘플 : 링크에서 : http://www.nabble.com/Session-problem-td16684956.html
- 구성 : 쓰기 ('Session.save', 'PHP');
- Configure :: write ('Session.cookie', 'CAKEPHP');
- Configure :: write ('Session.start', true);
- Configure :: write ('Session.checkAgent', false);
- Configure :: write ('Security.level', 'medium');
케이크 버전 : 1.2.3.8166
코드 샘플 및 세션 구성은보기 좋을 것입니다 .. CakePHP 버전도 있습니다. –
코드 샘플 : 링크와 동일합니다 : http://www.nabble.com/Session-problem-td16684956.html Configure :: write ('Session.save', 'php'); Configure :: write ('Session.cookie', 'CAKEPHP'); Configure :: write ('Session.start', true); Configure :: write ('Session.checkAgent', false); Configure :: write ('Security.level', 'medium'); 케이크 버전 : 1.2.3.8166 – Prabu