I am puzzled. Set cookie for a year duration, in a config.php file
$duration = time()+(60*60*24*365);

and set to autorized database

setcookie("lr_user", $username, $duration, "/", $domain);
setcookie("lr_pass", $password, $duration, "/", $domain);

The cookies last a day and not a year? cookies are php What am I missing.

PHPSESSID
klv3mcpu212ds4iji187lgf7c7
glsbrakes.com/
1024
216888192
30068398
599272272
30050293
*
phpbb3_8x22m_u
2
glsbrakes.com/
9216
1996549888
30124497
4162675984
30051071
*
phpbb3_8x22m_k
ffae961750dd9651
glsbrakes.com/
9216
1996549888
30124497
4162675984
30051071
*
phpbb3_8x22m_sid
8feebd234a863b321d0d2896c7c7b79f
glsbrakes.com/
9216
1996549888
30124497
4162675984
30051071
*
style_cookie
null
glsbrakes.com/
1088
2400823680
30125545
377512480
30052120
*
lr_user
xxxxxxx
glsbrakes.com/
1024
3568360448
30126387
1360199248
30052962
*
lr_pass
xxxxxxxxxxx
glsbrakes.com/
1024
3568360448
30126387
1360199248
30052962
*