>From my experince,a cookie cant be deleted,so you should set the value of the cookie to some garbage value or something else to simulate deletion. ----- Original Message ----- From: Shuja Nawaz <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 16, 2000 8:49 AM Subject: Cookies: How to delete or expire a cookie. > Hi. > > I have set the cookie in my JSP page to retrieve the UserName and Password. > It works fine. I can retrieve the cookie but when I try to delete it, it > does't work. > I want to delete the cookie when the user unchecks a checkbox on login page. > I have used the setMaxAge(-1) and setMaxAge(0) methods but they don't > work. > > Need the solution of this problem. May be some example or material can help > me. > Thank you in anticipation. > > > Thanks & Regards > Shujah Nawaz > Software Developer. > Ph # 5584677-8. > www.visualsoft-inc.com. > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
