|
I have a problem setting the MaxAge to a
cookie;
that's an extract of my code:
newCookieValue = "" +
System.currentTimeMillis();
newCookie = new Cookie("couldbeprov",newCookieValue); newCookie.setMaxAge(31536000); // 1 year response.addCookie(newCookie);
the problem is that the cookie is not
written;
if is call
newCookie.setMaxAge(20736000);
// 8 months
this is written OK.
What can I do?
Thank you
|
