daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest Dec 13th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $publicCookieMetadata = $this->_cookieMetadataFactory->createPublicCookieMetadata()
  2.                 ->setDuration(2592000)
  3.                 ->setPath($this->_sessionManager->getCookiePath())
  4.                 ->setDomain($this->_sessionManager->getCookieDomain())
  5.                 ->setHttpOnly(false);
  6.  
  7.             $cookie_name = 'cookie'.$key;
  8.  
  9.             $this->_cookieManager->setPublicCookie($cookie_name,
  10.                 $key,
  11.                 $publicCookieMetadata
  12.             );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top