I have an issue on SESSION. I need a session of 12 hours, so that I have to login in the morning and can access my website whole day long.
I did the following in .htaccess
php_value session.cookie_lifetime 43200
php_value session.gc_maxlifetime 43200
php_value session.cache_expire 43200
In my index.php i have inserted the code below:
echo ini_get("session.cookie_lifetime").'<br />';
echo ini_get("session.gc_maxlifetime").'<br />';
echo ini_get("session.cache_expire").'<br />';
The resuilt I got:
43200
43200
43200
However if I don't do anything on my website of an hour, the session will be destoryed.
Anyone who can help me out?