And if I let default, no application.ini setting, will it get php.ini
default or stay 604800?

Regards,
Saša Stamenković


On Wed, Mar 10, 2010 at 1:39 PM, holografix . <[email protected]> wrote:

> You can do that but I think that in the next request after authenticate,
> the value will be 10800 again.
> regards
> holo
>
>
> 2010/3/10 Саша Стаменковић <[email protected]>
>
>> Thanks.
>>
>> So, I can have in my applicatin.ini
>>
>> phpSettings.session.gc_maxlifetime = 10800
>>
>> and in authenticate method
>>
>>  if ($form->getValue('remember')) {
>> ini_set('session.gc_maxlifetime', 604800);
>> }
>>
>> Am I right?
>>
>> Regards,
>> Saša Stamenković
>>
>>
>>
>> On Wed, Mar 10, 2010 at 1:25 PM, holografix . <[email protected]>wrote:
>>
>>> Hi
>>>
>>> Yes, you can.
>>>
>>> http://www.php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime
>>>
>>> regards
>>> holo
>>>
>>> 2010/3/10 Саша Стаменковић <[email protected]>
>>>
>>> Can I override this without changing php.ini, since I'm on shared
>>>> hosting?
>>>>
>>>> Regards,
>>>> Saša Stamenković
>>>>
>>>>
>>>>
>>>> On Wed, Mar 10, 2010 at 12:04 PM, umpirsky <[email protected]> wrote:
>>>>
>>>>> It's 1440.
>>>>>
>>>>> Regards,
>>>>> Saša Stamenković
>>>>>
>>>>>
>>>>>  On Wed, Mar 10, 2010 at 11:47 AM, David Muir [via Zend Framework
>>>>> Community] <[hidden 
>>>>> email]<http://n4.nabble.com/user/SendEmail.jtp?type=node&node=1587237&i=0>
>>>>> > wrote:
>>>>>
>>>>>> You'll need to check the php ini setting:
>>>>>> session.gc_maxlifetime
>>>>>>
>>>>>> default is 1440, so the session garbage collector is probably wiping
>>>>>> the session files earlier.
>>>>>>
>>>>>> Cheers,
>>>>>> David
>>>>>>
>>>>>
>>>>>
>>>>> ------------------------------
>>>>> View this message in context: Re: 
>>>>> Zend_Session::rememberMe<http://n4.nabble.com/Zend-Session-rememberMe-tp1587009p1587237.html>
>>>>>
>>>>> Sent from the Zend Framework mailing list 
>>>>> archive<http://n4.nabble.com/Zend-Framework-f634138.html>at Nabble.com.
>>>>>
>>>>
>>>>
>>>
>>
>

Reply via email to