Does ini_set('session.save_path', 'custom path'); effect the session garbage cleaner?
- by newbtophp
Hi!
Does ini_set('session.save_path', 'custom path'); effect the session garbage cleaner?
As I'm setting a custom directory for the sessions, because I've read from various php security guides, that setting a custom directory on shared hosting for sessions; can improve session security.
But the problem is I've read somewhere that PHP does/handles the session garbage cleaning only when the session_save_path is the default and not modified (ie. using a custom directory)? - is this true, if so is their a solution for this?.
(take into consideration I'm using shared hosting).
Appreciate all help!