You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Pierre Métras <ge...@sympatico.ca> on 2000/12/09 01:22:01 UTC
Page refresh makes session ID reset
Hi,
I have a servlet that prints a page that refreshes itself. When I set my
browser not to accept cookies, in order to manage session with URL
rewriting, I have two different behaviors depending on the refresh method
used.
If I use javascript to refresh the page, the page refresh itself without
problem.
If I use a header, with the following code:
buf.append("<META HTTP-EQUIV=\"Refresh\" CONTENT=\"");
buf.append(user.calcRefreshRate());
buf.append("; URL=");
buf.append(response.encodeURL(url.toString()));
buf.append("\">");
then when the page refreshes itself, the tomcat proposes a new session ID.
Can someone explain this "feature"?
I'm still using tomcat 3.2B8.
Pierre Métras
dtd
Posted by Roberto Leong <a1...@iscte.pt>.
is there an available dtd for server.dtd?
i´m planning to use embedded catalina, but i want it to read server.xml any
approaches? before digging the xmlmapper stuff can someone give me a crash
course on it?
regards
Roberto