You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2007/03/15 15:21:11 UTC

DO NOT REPLY [Bug 41849] New: - Blank page after login on static html page (form authentication)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41849>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41849

           Summary: Blank page after login on static html page (form
                    authentication)
           Product: Tomcat 5
           Version: 5.5.17
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: robin.pelgrim@keyprocessor.com


Going to a page, let say main.html, the first time everything is fine:

login.html (login and push OK button)

and then correctly goin to main.html:

Then quit the browser and then going to main.html; it goes wrong:

login.html (login and push OK button)

and then for IE: blank page
         for FireFox: nothing happens (login page is still there)

this behaviour is repeating...

summary http workflow (Internet Explorer):
First time (the one that works fine):
request: GET main.html HTTP/1.1
response: HTTP/1.1 304 Not modified

          [for some reason the unmodified source is that of login.html]

request:  POST /j_security_check HTTP/1.1
response: HTTP/1.1 302 Moved Temporarily
          etc.

request:  GET main.html HTTP/1.1
          Cache-control: no-cache
response: HTTP/1.1 200 OK

          [html for main.html]

Second time (the one that doesnt work):

request: GET main.html HTTP/1.1
response: HTTP/1.1 200 OK
          Set-Cookie: .....
          ETAG: ...
          Last-Modified: ..etc.

          [html for login.html]

request:  POST /j_security_check HTTP/1.1
response: HTTP/1.1 302 Moved Temporarily
          etc.

request:  GET main.html HTTP/1.1
          Cache-control: no-cache
response: HTTP/1.1 304 Not Modified
          [this is strange, how can the response be not modified when no Last-
Modified information is send with the request?????]

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 41849] - Blank page after login on static html page (form authentication)

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41849>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41849





------- Additional Comments From robin.pelgrim@keyprocessor.com  2007-03-27 03:10 -------
Created an attachment (id=19811)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19811&action=view)
White page test case

Simple test case (Eclipse project) (the TomcatAthenticator class should be
placed in CATALINA_HOME/server/classes/whitepage).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 41849] - Blank page after login on static html page (form authentication)

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41849>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41849





------- Additional Comments From robin.pelgrim@keyprocessor.com  2007-03-27 03:32 -------
Created an attachment (id=19812)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19812&action=view)
server.xml

server.xml used for previous test case

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 41849] - Blank page after login on static html page (form authentication)

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41849>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41849


yoavs@computer.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




------- Additional Comments From yoavs@computer.org  2007-03-25 15:51 -------
Also works for me on 6.0.10.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 41849] - Blank page after login on static html page (form authentication)

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41849>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41849





------- Additional Comments From markt@apache.org  2007-03-21 19:33 -------
Form authentication works as expected for me. Please provide a simple test WAR
that demonstrates this issue.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org