Register / Login
Win a copy of
Penetration Testing Basics
this week in the
Web Component Certification (OCEJWCD)
posted 11 years ago
I am sending a sample cookie from my
to the client like this:
Cookie cookie = new Cookie("firstName", "Shravan"); cookie.setMaxAge(30*60); response.addCookie(cookie);
When i get the next request from the client, i get back the cookie but i see that the
is -1. I thought it
be 30 minutes.
How to attach/Detach cookies?
Confusion between Cookie and JSession
Difference between Cookies and Session in servlets
Cookie access with EL expression
design question: should the lock manager be synchronized whenever it's used in Data?