This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi everyone. I'm setting a cookie with the following code:
then using a loop within the body of the page to retrieve the cookie name(s) and value(s), and yet when I request the MaxAge of the cookie(s) on the page with cookies[i].getMaxAge() it comes back as -1, even though it was originally set to 31536000.
Am I being dense, or am I missing something here? Can anyone help me? Thanks in advance T.C. [ January 31, 2003: Message edited by: Ty Caine ]