Running WebLogic4.5.1
Jdk 1.2.2
I create cookies on client using Cookie class. Before doing add, I
setDomain and I setMaxAge.
When I read the cookies in on a later page:
Cookie myCookies[] = request.getCookies();
if (myCookies != null)
{
for (int i=0; i < myCookies.length; i++) {
out.print(myCookies[i].getName() + " :: " + myCookies[i].getValue() +
myCookies[i].getDomain() + " :: " + myCookies[i].getMaxAge());
}
}
The getDomain() always returns null. The getMaxAge() always returns -1.
Is anyone else having the same problem?
tia.
--
Tom
Thomas Preston
Vacation.com, Inc.
Engineering Department
617.210.4855 x 124
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html