Java set-cookie problem

  cookie.setDomain("www.gateway.com");
        cookie.setMaxAge(60*60*24*30);
        response.addCookie(cookie);

I added a cookie to response.
and the Set-Cookie, also exists in the response returned by the page request, but the browser does not add the secondary Cookie locally. It was also not found in the console application.

Set-Cookie: token=0b31cb951caa48fdbd06eb4f1b8a132e; Max-Age=2592000; Expires=Wed, 25-Jul-2018 13:00:51 GMT; Domain=www.gateway.com

is this a browser security issue? Or is there a problem with Java setting Cookie?

Mar.21,2021

could it be that the client shut down cookie?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b350a7-2aca7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b350a7-2aca7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?