Re: Want to change session cookie lifetime
| From: | Sterling Hughes | Date: | Wed, 01 Mar 2000 23:37:26 +0000 |
| Subject: | Re: Want to change session cookie lifetime | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-16242@lists.php.net to get a copy of this message | ||
-- session_set_cookie_params --
I've been meaning to add it to the docs...
void session_set_cookie_params(int lifetime [, string path [, string domain]])
Sterling Hughes
sterling@designmultimedia.com
> I've been looking through the PHP docs and haven't found a clear
> answer to this. What I want to do is to change the lifetime of
> session cookies - but only for one project (otherwise I would
> set 'session.lifetime' in my 'php.ini' file.
>
> Does anyone know how I would go about doing this?
>
> -Rich
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net