Welcome Guest, Not a member yet? Register   Sign In
CI Session class having problems
#1

[eluser]hayer[/eluser]
Hi

Probably just me making all the trouble but I can't get the session class to work.
Everytime I reload the page on my computer it says "The session cookie data did not match what was expected. This could be a possible hacking attempt."...

If I try on another computer(LAN) it says "A session cookie was not found."... And from my little test the Cookie-helper does not seem to work either.

Here are my config.php (Only the session & cookie part)
Code:
$config['sess_cookie_name']        = 'ci_session';
$config['sess_expiration']        = 7200;
$config['sess_expire_on_close']    = FALSE;
$config['sess_encrypt_cookie']    = FALSE;
$config['sess_use_database']    = true;
$config['sess_table_name']        = 'system_sessions';
$config['sess_match_ip']        = FALSE;
$config['sess_match_useragent']    = TRUE;
$config['sess_time_to_update']    = 300;
$config['cookie_prefix']    = "";
$config['cookie_domain']    = ".localhost.com";
$config['cookie_path']        = "/";
$config['cookie_secure']    = FALSE;

In the host file I got
10.13.37.218 localhost.com

sooo.. any solutions?



Edit:
Yes, the db table is created, triple check'd.
Yes, the domain is localhost.com as I cfg'd that in windows/system32/etc/hosts (after reading on the forum where someone where having similar problems)




Theme © iAndrew 2016 - Forum software by © MyBB