Welcome Guest, Not a member yet? Register   Sign In
Error codeigniter generates multiple sessions for the same user
#12

(12-12-2018, 09:47 PM)daveĀ friend Wrote:
(12-12-2018, 02:25 PM)xaiborweb Wrote: hello thank you for answering, it is not the problem because I have this problem for a long time and tested with all versions of codeigniter 3.x this has just become and I have all the same problem.[/url]

That being the case then the problem is probably not with the framework but with how it is being used. Please show us your code.

/application/config/config.php
PHP Code:
$config['sess_driver'] = 'database';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = 'ci_session';
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;
$config['cookie_prefix']    = '';
$config['cookie_domain']    = '';
$config['cookie_path']        = '/';
$config['cookie_secure']    = FALSE;
$config['cookie_httponly']     = FALSE
/application/config/autoload.php
PHP Code:
$autoload['libraries'] = array('ion_auth');
$autoload['helper'] = array('form','url','utility_helper','text'); 
/application/config/ion_auth.php
https://drive.google.com/file/d/1OPSPk82...IeWPV/view

/application/libraries/Ion_auth.php
https://drive.google.com/file/d/1SeA1QIa...bEym7/view

/application/controllers/Auth.php
https://drive.google.com/file/d/1RxNX73O...KSpJL/view

/application/models/Ion_auth_model.php
https://drive.google.com/file/d/14XD6eGb...SVDK-/view

to summarize the only thing I need is a simple user registration and login system, and it seemed simple to implement Ion Auth, but if you know another login system for codeigniter that maybe I do not have these problems that I am presenting with the sessions. I would appreciate it also. Thank you for your help for sure it will serve many as I see that codeigniter gives many problems with session.
Reply


Messages In This Thread
RE: Error codeigniter generates multiple sessions for the same user - by xaiborweb - 12-13-2018, 05:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB