[eluser]bartgrrr[/eluser]
Hi,
I need to keep track of the filled form data. So i put these values in session. At my local server I can go from page 1 (the form) to page 2 (the result of the form page) to page 3 (another page) and back to page 1 with the filled form fields.
When I go live, the session data is stored BUT with every new request, a new session id is generated. I didn't configure session handling in codeigniter but in .htaccess
my configuration (same for local / host server) file contains:
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'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent'] = TRUE;
$config['sess_time_to_update'] = 300;
$config['cookie_prefix'] = "";
$config['cookie_domain'] = "";
$config['cookie_path'] = "/";
$config['cookie_secure'] = FALSE;
my .htaccess (of the hostserver) contains ...
Code:
php_value session.save_path /home/[i]{my user}[/i]/tmp
php_value session.use_only_cookies On
What can be the cause of my session problem on my host? It's so frustrating 'cause it works at my local server (Wamp).