Re: Re: [PEAR-DEV] LiveUser - session_set_cookie_params()

Arnaud Limbourg <arnaud-GdXxm9JVFPlWk0Htik3J/[email protected]>
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
>> How can it become screwed up ? (note: i'm just trying to understand :)
>
> -                time() + (8 * 6400 * 
> $this->_options['session_cookie_params']['lifetime'])),
> +                time() + (LIVEUSER_DAY_SECONDS * 
> $this->_options['session_cookie_params']['lifetime'])),

I put

time() + (86400 *
> $this->_options['session_cookie_params']['lifetime'])),

which avoids the computation time and the constant definition.

Arnaud.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.