tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <tomcat-b...@cortexity.com>
Subject BugRat Report #180 has been filed.
Date Fri, 29 Sep 2000 11:32:50 GMT
Bug report #180 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/180>

REPORT #180 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: webbug
State: received
Priority: high
Severity: critical
Confidence: public
Environment: 
   Release: 3.1 and 3.2beta4
   JVM Release: 1.2.2 1.3
   Operating System: Linux and NT
   OS Release: SuSe 7.0 and NT 4.0
   Platform: Pentium III

Synopsis: 
Header Refresh and URLRewriting not work

Description:
Browser has Cookie disabled, and I will Load any Servlet after 2 second's
The Browser send the URL without SessionId, the second ";" ignored

The Result of the Examples is "2; 
URL=anyServlet;jsessionid=To1011mC4382072283999452At"

The GET-Request for the Server is only anyServlet.

Example one:
	res.setContentType("text/html");
	res.setHeader("Cache-Control","no-cache,no-store");
	res.setHeader("Pragma","no-cache");
	HttpSession session = req.getSession(true);
	res.setHeader("Refresh","2; 
URL="+res.encodeRedirectURL("anyServletName"));
Example two:
&lthead&gt
  &ltmeta http-equiv="refresh" content="2; 
URL="+res.encodeRedirectURL("anyServletName")&gt
  &lt/head&gt

Mime
View raw message