from the user posts at php.net
http://www.php.net/manual/en/function.session-set-cookie-params.php
The idea of a session is that it ends when the user closes the browser
(maybe even before hand). If you want a cookie to last longer, than use the
setcookie() function.
-Kevin
Sent out by
Joel Colombo
"L0vch1y" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> -> php-general.
>
> I used such code:
>
> $exp = 60*60*24*10; # for ten days.
> session_set_cookie_params($exp);
>
> But it works wrong - cookies were removed right after i have rebooted.
> The other way is to put session id into the cookies, but...
> Isn't it the same?
>
> Thank you.
>
>
> Yours, L0vCh1Y [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php