Yes, but if you change it from ini, you change it on every request, so no
conditional changes in the code, thats what holografix is talking about.

So, if you keep it default, no ini, you can change it with

if ($form->getValue('remember')) {
ini_set('session.gc_maxlifetime', 604800);
}

if user checked remember me.

Regards,
Saša Stamenković


On Wed, Mar 10, 2010 at 12:20 PM, David Muir
<[email protected]<davidkmuir%[email protected]>
> wrote:

>
> it's PHP_INI_ALL, so can be changed from anywhere.
>
> IIUC you can also set it using application.ini:
> phpSettings.session.gc_maxlifetime = 604800
>
> Cheers,
> David
> --
> View this message in context:
> http://n4.nabble.com/Zend-Session-rememberMe-tp1587009p1587252.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>

Reply via email to