문제


since I have change some settings with ini_set I can't access to the sessions information anymore, but they exist and are correct.
These are the setting:

ini_set('session.save_path', '../php/config/session');
ini_set('session.hash_function', 'sha512');
ini_set('session.entropy_file', '/dev/urandom');
ini_set('session.entropy_length', '512');
ini_set('session.gc_probability', '1');
ini_set('session.cookie_httponly', '1');
ini_set('session.cookie_secure', '1');
ini_set('session.use_only_cookies', '1');
ini_set('session.use_trans_sid', '0');
session_name("RazorphynSupport");
session_start(); 

The php doesn't throw out any error.
Thanks

도움이 되었습니까?

해결책

I have found the problem: ini_set('session.cookie_secure', '1'); the SSL certified wasn't installed in 'the right way' so my server couldn't recognize it and detect the open session

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top