I can\'t retrieve cookie maxage it always returns -1
Creating cookie:
Cookie securityCookie = new Cookie(\"sec\", \"somevalue\"); securityCookie.setMaxAg
Just for grins, can you retrieve the value of the cookie from the browser using javascript ?
Also, can you put a filter before your servlet/jsp so that you can check the value of the cookie after the servlet/jsp sets it ?