Question


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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top