Posted by Martin Mandl on 04/19/05 14:52
and try php_value instead of php flag:
php_value session.cookie_lifetime 14400
Martin Mandl wrote:
> 4 hours = 60 * 60 * 4 = 14400
>
> Mario de Frutos Dieguez wrote:
>
>> pete M escribió:
>>
>>> I'm trying to figure out out to put a directive in .htaccess to make
>>> the session timeout in 4 hours ..
>>>
>>> tried
>>> php_flag session.cookie_lifetime 240
>>>
>>> and a few others
>>>
>>> can someone help !
>>>
>>> tia
>>>
>> Try ini_set("session.gc_maxlifetime","2400");
>>
Navigation:
[Reply to this message]
|