How can I get actual domain of a cookie ? getDomain(), getPath() are returning null also I have set the appropriate values.
and I am using response.addCookie(cookie)
Thanks in advance.
Regards, Prashant
How can I get actual domain of a cookie ? getDomain(), getPath() are returning null also I have set the appropriate values.
and I am using response.addCookie(cookie)
Thanks in advance.
Regards, Prashant
Cookies coming in from the browser probably don't have this data available. Only cookie name and cookie value. See the HTTP specs for what cookie headers are set by the browser and sent to the server.