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

This has always worked for me.

Create a new folder under ./application named writable

./application/writable

PHP Code:
$config['sess_driver'            'files';
$config['sess_cookie_name'       'pcfx_session_';
$config['sess_expiration'        7200;
$config['sess_save_path'         APPPATH.'writable';
$config['sess_match_ip'          FALSE;
$config['sess_time_to_update'    300;
$config['sess_regenerate_destroy'] = FALSE


I have never had a problem with it doing it this way.

But be careful some hosting providers will change the session path on you.

My hosting provider does not change it.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
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 InsiteFX - 05-26-2018, 06:08 AM
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