[eluser]xoiv[/eluser]
Hello, I have the Following problem:
I'm using the table of "ci_sesesions" for control user sessions in the database, when the browser is closed, the local session is removed, but no record in the table.
This is my setup: config.php
Code:
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_expire_on_close'] = true;
$config['sess_encrypt_cookie'] = true;
$config['sess_use_database'] = true;
$config['sess_table_name'] = 'ci_session';
$config['sess_match_ip'] = TRUE;
$config['sess_match_useragent'] = TRUE;
$config['sess_time_to_update'] = 300;
data base (postgre):
Code:
CREATE TABLE ci_session
(
session_id character varying(40) NOT NULL DEFAULT '0',
ip_address character varying(16) NOT NULL DEFAULT '0',
user_agent character varying(255) NOT NULL,
last_activity integer NOT NULL DEFAULT 0,
user_data text,
CONSTRAINT ci_sesion_pkey PRIMARY KEY (session_id)
)
Does anyone have any idea what happened?