Hi,
I have a problem with cookies: under ie 5.5, I can successfully create a
cookie, but its expiration date is never taken into acount (at least not
until the browser is closed). The same problem occurs when I want to delete
one (by setting the cookie maxage to 0 as documented).
However, the problem doesn't rise with Netscape 4.75.
Moreover, with the exact same code, everything works just fine with Tomcat
3.1 (and posterior versions of Tomcat).
The only solution for me is to generate javascript to handle cookies, which
is not very clean.
Can someone confirm that this is a JRun bug or tell me what I am doing
wrong?
thanks.
Thierry
Here is the jsp code that I'm using:
<%@ page import="javax.servlet.http.Cookie"
errorPage="error.jsp"
%>
<%
Cookie cookie = new Cookie("CookieTest", "ok");
cookie.setMaxAge(0);
cookie.setPath("/");
response.addCookie(cookie);
%>
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists