I'm making an application with web services and i want to memorize username and password of user in cookie and then i want to resume the username and password of the user in another web service
NewCookie cookie = new NewCookie(new javax.ws.rs.core.Cookie("cookie", (username+password).hashCode()+""), "", 15*15, false);
in this line of code i create the cookie but I can't take the values ββin another web service
I'm new to java programming, help me!