Notice removed Authoritative reference needed by Community
    Bounty Ended with no winning answer by Community
2 added 89 characters in body
source | link

In m1 we could just override isSecure from Mage_Core_Model_Cookie model, method:

public function isSecure()
{ 
    return $this->_getRequest()->isSecure(); 
}

How can we accomplish this in m2?

enter image description here

In m1 we could just override isSecure from Mage_Core_Model_Cookie model, method:

public function isSecure()
{ 
    return $this->_getRequest()->isSecure(); 
}

How can we accomplish this in m2?

In m1 we could just override isSecure from Mage_Core_Model_Cookie model, method:

public function isSecure()
{ 
    return $this->_getRequest()->isSecure(); 
}

How can we accomplish this in m2?

enter image description here

    Tweeted twitter.com/StackMagento/status/1135970123859316736
    Notice added Authoritative reference needed by Supplement
    Bounty Started worth 50 reputation by Supplement
1
source | link

PHPSESSID: Session Cookie Does Not Contain the "Secure" Attribute

In m1 we could just override isSecure from Mage_Core_Model_Cookie model, method:

public function isSecure()
{ 
    return $this->_getRequest()->isSecure(); 
}

How can we accomplish this in m2?