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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.