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-09-12 19:30:43
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‘])