Welcome Guest, Not a member yet? Register   Sign In
Problem with session files
#7

I create a folder under the application folder called writable.

./application/writable

then set the sessions up like below works fine for me.

PHP Code:
$config['sess_driver'             'files';
$config['sess_cookie_name'        'pcfx_session_'// change pcfx to you name
$config['sess_expiration'         7200;
$config['sess_save_path'          APPPATH.'writable'// create a folder under ./application/writable
$config['sess_match_ip'           FALSE;
$config['sess_time_to_update'     300;
$config['sess_regenerate_destroy' FALSE
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
Problem with session files - by raffaele.bennoli - 11-22-2017, 02:18 AM
RE: Problem with session files - by PaulD - 11-22-2017, 12:17 PM
RE: Problem with session files - by dave friend - 11-22-2017, 09:01 PM
RE: Problem with session files - by dave friend - 10-30-2018, 11:41 AM
RE: Problem with session files - by clover - 10-21-2018, 02:57 PM
RE: Problem with session files - by InsiteFX - 10-24-2018, 09:08 AM
RE: Problem with session files - by shafiq2410 - 12-28-2021, 09:34 PM
RE: Problem with session files - by roben - 01-10-2022, 01:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB