You are here: Re: [PHP] .htaccess « PHP « IT news, forums, messages
Re: [PHP] .htaccess

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация