On Wednesday 10 Mar 2010 15:38:39 Саша Стаменковић wrote:
> 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ć
Another option is not to use the session time for specific user logins.
Sessions are server side and are probably application wide. So you can't have
a session time per user login. If you need to keep the user logged in, a
cookie is meant to support this.
Regards, Jurian
--
Jurian Sluiman
CTO Soflomo V.O.F.
http://soflomo.com