78 State $appState =
null 84 $this->_scopeType = $scopeType;
101 if ($useSidOnFrontend && $this->request->getQuery(
102 $this->getSessionIdQueryParam(
$session),
104 ) && $this->urlBuilder->isOwnOriginUrl()
120 if ($sessionName && isset($this->sidNameMap[$sessionName])) {
121 return $this->sidNameMap[$sessionName];
134 $this->_useSessionVar = (bool)$var;
157 $this->_useSessionInUrl = (bool)$flag;
169 if ($this->_useSessionInUrl ===
null) {
172 $this->_useSessionInUrl = (bool)$this->scopeConfig->getValue(
173 self::XML_PATH_USE_FRONTEND_SID,
setUseSessionInUrl($flag=true)
getSessionIdQueryParam(SessionManagerInterface $session)
const XML_PATH_USE_FRONTEND_SID
getSid(SessionManagerInterface $session)
__construct(\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, \Magento\Framework\UrlInterface $urlBuilder, \Magento\Framework\App\RequestInterface $request, $scopeType, array $sidNameMap=[], State $appState=null)
const SESSION_ID_QUERY_PARAM