Register / Login
Win a copy of
Think Java: How to Think Like a Computer Scientist
this week in the
Java in General
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 should be the possible solution of this problem.
Waiting for prompt reply.
HTTPonly & Secure cookie in Websphere?
Non-secure Cookie Used
Multiple Cookies with the name 'JSESSIONID' getting created