Cookie problem
cookie = new Cookie("Password_" + domainUrl + "_" + serverUser,
serverPassword);
response.addCookie(cookie);
immediately after setting cookie i need to print it out.While printing am getting only some intial value , cant able to retrive the cookie which i set lastly.
After refreshing the i can able to see all the cookie... Actually wht is problem there.. can any one help me.?
|