tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Oxley <d...@staffplanner.co.uk>
Subject Cookies and IE5.5
Date Fri, 17 Aug 2001 15:28:29 GMT
I am trying to set a cookie that can be picked up from a different server to
the one setting it. They both belong to the same domain (daves.domain.com
and daves2.domain.com). 
The first server sets the cookie and redirects to the second server where
the cookie is read.
On IE5.5 and above the cookie does not get set, but it works fine for IE5
and Mozilla.
Is this a bug with later versions of IE or am I doing something wrong.
This is the code:
		Cookie c = new Cookie("User", "DAVE");
		c.setDomain("domain.com");
		c.setPath("/servlet/LogonServlet");
		c.setMaxAge(60);
		c.setVersion(1);
		resp.addCookie(c);
		resp.sendRedirect (redirect_url) ;		

Dave.
Dave@Staffplanner.co.uk

Mime
View raw message