Sessions getting erased |
Assuming that your web user has permissions to the /sessions folder, then this is most likely to be a setup issue at the web server level.
Internet Explorer does not like to serve cookies to anything less than a fully qualified domain name i.e. sub.domain.tld. You can work around this quirk by modifying the config file for your environment (development, production, etc): $config['cookie_prefix'] = ''; $config['cookie_domain'] = 'sub.domain.tld'; $config['cookie_path'] = '/'; $config['cookie_secure'] = FALSE; $config['cookie_httponly'] = FALSE; When serving from localhost, it would be best to set a fully qualified domain in your hosts file and an appropriate virtual host in your web server config. That way you never have to worry about the url pointing to http://localhost/. Hope that helps. Dennis |
Messages In This Thread |
Sessions getting erased - by orsan - 07-23-2015, 09:07 PM
RE: Sessions getting erased - by Avenirer - 07-24-2015, 01:18 AM
RE: Sessions getting erased - by Abhishek Singh - 07-24-2015, 05:37 AM
RE: Sessions getting erased - by Avenirer - 07-24-2015, 12:53 PM
RE: Sessions getting erased - by jdriddle - 07-24-2015, 01:37 PM
RE: Sessions getting erased - by Dracula - 07-24-2015, 05:09 PM
RE: Sessions getting erased - by orsan - 07-26-2015, 06:38 PM
RE: Sessions getting erased - by Abhishek Singh - 07-30-2015, 10:07 AM
RE: Sessions getting erased - by jdriddle - 07-27-2015, 01:06 PM
RE: Sessions getting erased - by raknjak - 03-29-2017, 05:47 PM
|