Register / Login
Need to set HTTPONLY value to make cookies secure!!!
posted 6 years ago
I am currently setting HTTPOnly to make the cookies secure using following code.
response.setHeader("SET-COOKIE", "JSESSIONID=" + sessionid+ ";HttpOnly");
I have referred following URL for this.
But while doing so each time it is creating a new sessionID.
So, by means of that old session value got vanished.
Please do let me know what
be the possible solution of this problem.
Waiting for prompt reply.
Boost this thread!
HTTPonly & Secure cookie in Websphere?
Non-secure Cookie Used
Multiple Cookies with the name 'JSESSIONID' getting created