Welcome Guest, Not a member yet? Register   Sign In
System kicks me off the system in Middle of the session
#1

[eluser]Unknown[/eluser]
Hi All,

I m facing weird problem system keeps redirecting to the default controller in middle of a session.

I have gone through the Router.php library file under system/libraries and found at some point $this->uri->uri_string returns Null OR blank hence the system is redirect to the Home page the session also does expires

I am using the session class from http://www.philsbury.co.uk/blog/code-igniter-sessions

This is SESSION Settings in config.php
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_encrypt_cookie'] = FALSE;
$config['sess_use_database'] = FALSE;
$config['sess_table_name'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent'] = TRUE;

$config['sess_timeout'] = 0;
$config['sess_destroy_on_timeout'] = FALSE;
$config['sess_update_interval'] = 180;
$config['sess_gc_probability'] = 10;
$config['sess_http_only'] = FALSE; // PHP 5.2+ or better only!
$config['sess_forwarded_ip'] = FALSE;
$config['sess_secure'] = FALSE;


Thanks in Advance


Messages In This Thread
System kicks me off the system in Middle of the session - by El Forum - 10-12-2010, 12:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB