In this example, we're setting a custom session name to "example_session" and custom session save path to "/tmp/sessions/". Now every session created by this script will be prefixed with "example_session" and stored in the "/tmp/sessions/" directory. Package Library: None, this is just standard PHP code.