Is there any way to make all the cookies to secure at a time In Magento 1
I tried the following Setting in Magento 1 configuration
System->configuration->(General) > Web > session cookie management->use HTTP Only->Yes
But still, cookies are not set to HTTPOnly
I want both attributes HttpOnly and secure should be set
Let me know if anything I can do for this.
Thank You.
Solved! Go to Solution.
I want to make it for all the cookies.
This is generated in the report by running a WAS scan by Qualys.
please check the below article this might help you.
where-is-secure-tag-in-magento-cookie-on-ssl-secure-site
Hope this helps.
Problem Solved?Click Accept as solution or give kudos.
Hi @smita_kagwade
What do you mean by all cookies?
All the cookies set by Magento or any other cookies also used in the domain?
@smita_kagwade
Please visit Need suggestions regarding "Missing Secure Flag From SSL Cookie (http-cookie-secure-flag)"
override isSecure from Mage_Core_Model_Cookie model, method:
public function isSecure() {
return $this->_getRequest()->isSecure();
}
Well, This does not work.
Any thoughts what needs to be checked further in code ?