[Solar-talk] Peristent logins Was: Re-introducing Solar_Session with adapter support

Rodrigo Moraes rodrigo.moraes at gmail.com
Tue Mar 4 12:10:55 CST 2008


On Tue, Mar 4, 2008 at 7:31 AM, Rodrigo Moraes wrote:
>  I'd suggest an option to *always* set a cookie. When "remember me" is
>  not checked, the auth cookie would have a lifetime of 0, so it expires
>  when the browser closes. A new cookie would store if "remember me" was
>  marked, and then when cookies are renewed the adapter knows if they
>  should have a proper lifetime or just 0.
>
>  I think that sessions expiring is too annoying for some kind of sites.
>  Then, lifetime = 0 is very convenient.

Nah, please ignore this. It was my solution to "extend" the session
lifetime before I discovered that debian cleans sessions with more
than 30 minutes. I'll probably change the cron to leave sessions for 2
or 3 hours and stop using lifetime = 0, I think.

:-)

-- rodrigo


More information about the Solar-talk mailing list