code: private static String getPcType(HttpServletRequest request) {
  
          String pcType = null;
          if (!OpenCms.getLoginManager().isEnableSecurity()) {
              // if security option is disabled, just set PC type to "private" to get common login dialog
              pcType = PCTYPE_PRIVATE;
          } else {
              // security option is enabled, try to get PC type from request parameter
              pcType = CmsRequestUtil.getNotEmptyParameter(request, PARAM_PCTYPE);
              if (pcType == null) {
                  Cookie pcTypeCookie = getCookie(request, COOKIE_PCTYPE);
                  if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(pcTypeCookie.getValue())
                      && !"null".equals(pcTypeCookie.getValue())) {
                      pcType = pcTypeCookie.getValue();
                  }
              }
  
          }
          return pcType;
      }
docs: Returns the pc type of the current request.<p>
  
  @param request the request
  
  @return the pc type