Hi i m new to programming but am currently working on a session timeout problem. Basically my session keeps timing out even though i ve changed the session.gc_maxlifetime. I think another script using the same directory to store session data which doesn t have the maxlifetime set, is running and thus it ll use the shorter value instead. TO combat this i ve altered the htaccess file but it is still terminating after an 1hr 30mins, i need it to last for longer. My htaccess file is below. I ve looked at and tried many of the relevant posts on this board but nothing has worked so far. Any ideas would be greatly appreciated.
SetEnv PHPRC /home/rocket/public_html/php.ini
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
<IfModule mod_php5.c>
php_value session.save_path "new/username/php_sessions"
php_value session.gc_maxlifetime "86400"
php_value session.cookie_lifetime "86400"
</IfModule>
# END WordPress