Switching to memcache for sessions |
(04-24-2019, 03:48 PM)priyankaamonker Wrote: Hello, I don't believe that you need to set php.ini directly. First of all, CodeIgniter will set the session.save_handler based on $config['sess_driver'] . CodeIgniter would ignore the php.ini setting for session.save_handler as it sets up its own SessionHander class to attend to all the open/close, read/write, etc chores for managing Sessions. Second, session.save_path can be and is set via PHP Code: ini_set('session.save_path', config_item('sess_save_path')); In short, your $config settings should be all you need. IMO, find a different ISP because neither of those items should affect a shared server that is properly set up. |
Messages In This Thread |
Switching to memcache for sessions - by priyankaamonker - 04-24-2019, 03:48 PM
RE: Switching to memcache for sessions - by donpwinston - 04-24-2019, 06:06 PM
RE: Switching to memcache for sessions - by dave friend - 04-24-2019, 08:26 PM
RE: Switching to memcache for sessions - by priyankaamonker - 04-24-2019, 11:13 PM
RE: Switching to memcache for sessions - by dave friend - 04-25-2019, 09:00 AM
RE: Switching to memcache for sessions - by priyankaamonker - 04-25-2019, 11:10 AM
|