Hi !!
Maybe this is not a straight answer to your question but i do session
tracking like this:
HttpSession session=null;
session=req.getSession(false);
if(session==null){
//session doesn't exist create one
session=req.getSession(true);
}
hope it helps,
Best wishes,
Andras
-----Original Message-----
From: Scheiderer, Stephan <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, June 07, 1999 6:24 PM
Subject: Problem with sessions on netscape...
>Hi,
>
>i realize session tracking by setting cookies with getSession(true). If a
>session exists, the next function session.isNew() should return false. In
>this way, I test if a session is new.
>
>Everything works fine using MS InternetExplorer. Netscape works too, but in
>some cases it doesn�t. It sometimes creates new session (cookies) although
>there does exist one. MSIE does not have this problem. So I don�t think
it�s
>the Java API, but the browser settings or an HTML tag missing that has
>something to do with this. Has anybody experienced the same and can help
>me???
>
>p.s.: I�m using Apache 1.3.6 with JServ 1.0b5 and JServSSI (rewritten, so I
>can access sessions from everywhere in the jhtml file).
> It even doesn�t work if I start the servlets on their own without
SSI
>(<SERVLET> tags)...
>
>MfG Stephan Scheiderer - debis Systemhaus GEI
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html