Welcome Guest, Not a member yet? Register   Sign In
Setting sess_save_path correctly
#4

(03-05-2016, 12:59 PM)Narf Wrote: https://github.com/bcit-ci/CodeIgniter/b...g.php#L347
Why did you ignore this note?

You're not supposed to leave it empty.
And you are again NOT supposed to set it it to sys_get_temp_dir(), especially if you're uploading to a shared hosting environment.

Just pick a directory that only you can read, and point to it.

Oh wow, I completely missed the comments, how silly of me. Yes, the error message makes much more sense now. I created a sessions directory and set permissions to 700. Seems to work fine now.

Thanks.
Reply


Messages In This Thread
Setting sess_save_path correctly - by n2fole00 - 03-05-2016, 08:45 AM
RE: Setting sess_save_path correctly - by Narf - 03-05-2016, 12:59 PM
RE: Setting sess_save_path correctly - by n2fole00 - 03-05-2016, 03:30 PM
RE: Setting sess_save_path correctly - by MikeDiz - 05-30-2018, 01:18 AM
RE: Setting sess_save_path correctly - by MikeDiz - 05-30-2018, 01:20 AM
RE: Setting sess_save_path correctly - by MikeDiz - 05-30-2018, 03:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB