The API for the HttpServletResponse.encodeURL() method states that the
implementation of this method includes the logic to determine whether the
session ID needs to be encoded in the URL.
How does Tomcat know whether or not a browser supports cookies, or session
tracking is turned off?
Is it
I use a HttpSession object.
HttpSession object = null;
When user access to site, i use:
object = request.getSession();
later i use:
boolean n = object.isNew();
if n = true, then user is not using cookies.
I suppose that tomcat is using Session Cookies and not re-writting politic..
because, tomcat
I understand what you are saying, Javier, if you have a round-trip
situation, where you set cookies in one response, and then test for them in
a follow-up request.
But I'm not convinced that's how Tomcat does it.
The first time a client connects to a server, there will not be any cookies,
. ;)
Mike Curwen
-Original Message-
From: Harry Mantheakis [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 27, 2005 10:12 AM
To: Tomcat Users List
Subject: Re: How does Tomcat know that a browser supports cookies?
I understand what you are saying, Javier, if you have
PROTECTED]
Sent: Thursday, January 27, 2005 10:12 AM
To: Tomcat Users List
Subject: Re: How does Tomcat know that a browser supports cookies?
I understand what you are saying, Javier, if you have a
round-trip situation, where you set cookies in one response,
and then test for them