[eluser]Samus[/eluser]
[quote author="soprabaixar1" date="1334354056"]Thanks, it worked.
I do not understand why I can change some config session doing this:
Code:
$this->session->sess_expiration = 10800; // 3h
$this->config->set_item('sess_expiration', 10800); // 3h
But when I try to do the same for "sess_cookie_name" does not work.[/quote]
Well I just changed my
$config['log_threshold'] = 3;
to display informational messages only and I noticed that the session class is initialized before the controller class. So that may be where your problem lies
Quote:DEBUG - 2012-04-13 21:59:07 --> Config Class Initialized
DEBUG - 2012-04-13 21:59:07 --> Hooks Class Initialized
DEBUG - 2012-04-13 21:59:07 --> Utf8 Class Initialized
DEBUG - 2012-04-13 21:59:07 --> UTF-8 Support Enabled
DEBUG - 2012-04-13 21:59:07 --> URI Class Initialized
DEBUG - 2012-04-13 21:59:07 --> Router Class Initialized
DEBUG - 2012-04-13 21:59:07 --> No URI present. Default controller set.
DEBUG - 2012-04-13 21:59:07 --> Output Class Initialized
DEBUG - 2012-04-13 21:59:07 --> Security Class Initialized
DEBUG - 2012-04-13 21:59:07 --> Input Class Initialized
DEBUG - 2012-04-13 21:59:08 --> XSS Filtering completed
DEBUG - 2012-04-13 21:59:08 --> Global POST and COOKIE data sanitized
DEBUG - 2012-04-13 21:59:08 --> Language Class Initialized
DEBUG - 2012-04-13 21:59:08 --> Loader Class Initialized
DEBUG - 2012-04-13 21:59:08 --> Config file loaded: application/config/eap.php
DEBUG - 2012-04-13 21:59:08 --> Helper loaded: url_helper
DEBUG - 2012-04-13 21:59:08 --> Helper loaded: form_helper
DEBUG - 2012-04-13 21:59:08 --> Helper loaded: html_helper
DEBUG - 2012-04-13 21:59:08 --> Helper loaded: inflector_helper
DEBUG - 2012-04-13 21:59:08 --> Database Driver Class Initialized
ERROR - 2012-04-13 21:59:08 --> Severity: Warning --> mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: MySQL server has gone away C:\wamp\www\EndAProblem\system\database\drivers\mysql\mysql_driver.php 91
DEBUG - 2012-04-13 21:59:08 --> Session Class Initialized
DEBUG - 2012-04-13 21:59:08 --> Helper loaded: string_helper
DEBUG - 2012-04-13 21:59:08 --> Encrypt Class Initialized
DEBUG - 2012-04-13 21:59:08 --> Session routines successfully run
DEBUG - 2012-04-13 21:59:08 --> Form Validation Class Initialized
DEBUG - 2012-04-13 21:59:08 --> Model Class Initialized
DEBUG - 2012-04-13 21:59:08 --> Model Class Initialized
DEBUG - 2012-04-13 21:59:08 --> Model Class Initialized
DEBUG - 2012-04-13 21:59:08 --> Controller Class Initialized