I am trying to pass userid from webfacing application index.jsp page via URL parameter. This is what I have been doing this far: None of these return real user's userid. All return "null" valueAt this point user is not logged on, so I need some sort of "system userid" but of the real user logged into the network. The application id RADi version 7.5. Project is generated from "webfacing" application. Any suggestions, please? Thanks a lot !
String userId = request.getRemoteUser();
System.out.println(
"USER_ID = " + userId);
String userID = request.getParameter(
"USERID"); System.out.println(
"user_id 1 = " + userID);
System.out.println(
"Session Value " + request.getSession().getAttribute("userid"));
ASKED:
Aug 18 2009 6:32 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _