I know I can modify the directory of the sessions, located in the php.ini file. But I know I've seen other systems, like oscommerce, specify the database or a different directory for storing the sessions. (while not affecting other websites on the server)
How does one use php to tell where to write and read from a different directory?
I'm reading the php manuals, and I'm rather confused about it, obviously.
Is this the function that I use to write to a specified directory? session_save_path()
If so, I'm not getting the result I'm looking for, which is writing to the directory I've put inside the function.