Java
Cookie cookie = new Cookie(COOKIE_NAME, encrypt_cookieV);
cookie.setMaxAge(60 * 60);
cookie.setPath("/");
response.addCookie(cookie);
PHP
setcookie($cookie_name,$cookie_value,time()+3600*1,'',$headers['HOST'])
2022-04-05 23:42:12
Java
Cookie cookie = new Cookie(COOKIE_NAME, encrypt_cookieV);
cookie.setMaxAge(60 * 60);
cookie.setPath("/");
response.addCookie(cookie);
PHP
setcookie($cookie_name,$cookie_value,time()+3600*1,'',$headers['HOST'])