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=35943>.
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=35943

           Summary: request.getRemoteUser() is not getting populated on
                    first time frame requests
           Product: Tomcat 5
           Version: 5.5.9
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Keywords: APIBug
          Severity: normal
          Priority: P2
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


We have following jsp as the first page of an application. Application is 
accesible only to the authorized users. What is happening is in the FrameSET 
JSP all the request.getRemoteUser() and request.isUserInRole("readonlyuser") 
are valid and correct.  
    But the jsp's inside the frame, in this example, Top.jsp, Test.jsp is 
having the request.getRemoteUser() as null. This behavior happens only in the 
first time I access the application. If I refresh the main Frameset.jsp, each 
Frame's jsp has the correct value for request.getRemoteUser()

<HTML>
<HEAD>
<TITLE>Test</TITLE>
</HEAD>
                <FRAMESET ROWS="73,100%" framespacing="0" border="0" 
frameborder="0">
                        <FRAME name="topframe" src="Top.jsp" marginwidth="0" 
marginheight="0" SCROLLING="NO"  NORESIZE/>
                        <FRAMESET cols="0,173,*" framespacing="0" border="0" 
frameborder="0">
                                <FRAME name="code" src="Test.jsp 
marginwidth="0" marginheight="0"/>
                                <FRAME name="contents" src="" marginwidth="0" 
marginheight="0"/>
                                <FRAME name="main" src="blank.html" 
marginwidth="0" marginheight="0"/>
                        </FRAMESET>
                </FRAMESET>
</HTML>

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to