aren't cookies global? |
OK. Your problem is that when using $config['sess_driver'] = 'files'; the $config['sess_save_path'] MUST describe the absolute path to the folder used for the files. On a linux system that might be something like `/var/www/project_folder/sessions/`. The point is it must be a complete path from the root of the drive to the folder to hold the files.
Read the Files Driver section of the documentation carefully for other vital information about using the files driver. Depending on your server, you might need a different value for $config['cookie_domain']. If the empty string does not work then you might want to try '.example.com'; or maybe '.example.com/' . If you are going to use cookies to hold data (instead of sessions) it is strongly recommended to use SSL (https://) and use these cookie settings PHP Code: $config['cookie_secure'] = TRUE; |
Messages In This Thread |
aren't cookies global? - by richb201 - 11-09-2017, 02:24 PM
RE: aren't cookies global? - by neuron - 11-09-2017, 11:40 PM
RE: aren't cookies global? - by richb201 - 11-10-2017, 01:51 AM
RE: aren't cookies global? - by dave friend - 11-13-2017, 09:47 AM
RE: aren't cookies global? - by InsiteFX - 11-10-2017, 05:12 AM
RE: aren't cookies global? - by richb201 - 11-11-2017, 11:28 AM
RE: aren't cookies global? - by PaulD - 11-11-2017, 12:29 PM
RE: aren't cookies global? - by richb201 - 11-11-2017, 12:43 PM
RE: aren't cookies global? - by PaulD - 11-11-2017, 12:55 PM
RE: aren't cookies global? - by richb201 - 11-13-2017, 10:56 AM
RE: aren't cookies global? - by dave friend - 11-13-2017, 02:42 PM
RE: aren't cookies global? - by richb201 - 11-13-2017, 03:15 PM
RE: aren't cookies global? - by dave friend - 11-13-2017, 06:29 PM
RE: aren't cookies global? - by richb201 - 11-14-2017, 03:53 PM
RE: aren't cookies global? - by InsiteFX - 11-15-2017, 03:50 AM
|