It works correctly for me, with IE6 and Tomcat 5.5.17. On the first
request, isNew = true. On subsequent requests, isNew = false and the
session ID is the same.

Perhaps your IE is set to ignore all cookies, or to ignore cookies
from certain hosts.
--
Len

On 7/4/06, Galam <[EMAIL PROTECTED]> wrote:
Hi all,

I am having problem getting my application to work with IE6.

In IE6, everytime when I refresh the page, it creates a new session with
different session ID.

Firefox doesn't have this problem.


Here is my sample test page:

------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<[EMAIL PROTECTED] import="javax.servlet.http.*"
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Test</title>
</head>
<body>
<br>
Current Time = <%=new java.util.Date()%>
<br>
<%
 HttpSession ms = request.getSession(false);
%>
session isNew = <%=ms.isNew() %>, ID = <%=ms.getId() %>
<br><br>
</body>
</html>
--------------


Can anyone give it a try?

Thanks!


Galam.



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to