Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Delete cookie(using JSP)

843838Sep 21 2006 — edited Sep 21 2006
i try to setMaxage(0) but it only make the cookie expired.....
i try to setMaxage(-1) but it need to close browser to delete cookie
the result i want is when the browser is open then delete the cookie(it look like select internet option thne click delete cookie)

please help.........................

thank you
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2006
Added on Sep 21 2006
2 comments
168 views