Hi,
I have developed a website. The user has an option to set cookies to
remember his username and password
by checking a checkbox (I'm setting the cookie to expire after a month).
Now if the user unchecks the checkbox how should I expire the cookies
immediately.
I've tried setMaxAge(0) but it does't work.
I shall be thankful if you can send me an example how to resolve my problem.
Thank you in anticipation.
Thanks & Regards
Shuwaz Abbasi.
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