Welcome Guest, Not a member yet? Register   Sign In
Session overwriting Session of another system
#8

[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 --&gt; Severity: Warning --&gt; 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 --&gt; Session Class Initialized

DEBUG - 2012-04-13 21:59:08 --&gt; Helper loaded: string_helper
DEBUG - 2012-04-13 21:59:08 --&gt; Encrypt Class Initialized
DEBUG - 2012-04-13 21:59:08 --&gt; Session routines successfully run
DEBUG - 2012-04-13 21:59:08 --&gt; Form Validation Class Initialized
DEBUG - 2012-04-13 21:59:08 --&gt; Model Class Initialized
DEBUG - 2012-04-13 21:59:08 --&gt; Model Class Initialized
DEBUG - 2012-04-13 21:59:08 --&gt; Model Class Initialized
DEBUG - 2012-04-13 21:59:08 --&gt; Controller Class Initialized


Messages In This Thread
Session overwriting Session of another system - by El Forum - 04-13-2012, 06:12 AM
Session overwriting Session of another system - by El Forum - 04-13-2012, 06:25 AM
Session overwriting Session of another system - by El Forum - 04-13-2012, 06:53 AM
Session overwriting Session of another system - by El Forum - 04-13-2012, 07:40 AM
Session overwriting Session of another system - by El Forum - 04-13-2012, 01:28 PM
Session overwriting Session of another system - by El Forum - 04-13-2012, 01:34 PM
Session overwriting Session of another system - by El Forum - 04-13-2012, 02:54 PM
Session overwriting Session of another system - by El Forum - 04-13-2012, 03:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB