takes #isoktousesession webrequest into account when retrieving session attributes . if it 's not ok , thiswill return null concode_field_sep String OK_TO_USE_SESSION concode_field_sep boolean isOKtoUseSession concode_elem_sep boolean setSessionAttributeIfOk concode_elem_sep String getURLorHeaderParameter concode_elem_sep String getRequestedServerPrefix concode_elem_sep void setOKtoUseSession
Object function ( WebRequest arg0 , String arg1 ) { if ( isOKtoUseSession ( arg0 ) ) { return arg0 . getAttribute ( arg1 , WebRequest . SCOPE_GLOBAL_SESSION ) ; } return null ; }