Hi,
As I belive, the sessions (session cookies) will expire after the
browser has been restarted. So even if you put the session id in a cookie,
after ten days you might have your old session id, but it would be delete
from the server long ago. The server doesn't keep session for that log
-> 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, L0
2 matches
Mail list logo