- Extension key:
Vianetz_SecureCookies
This extension for the Magento 1 online shop software improves the default Magento session cookies:
- The
frontend
cookie will be set toSecure
andSameSite=Lax
- The
adminhtml
cookie will be set toSameSite=Strict
(this cookie is by default set toSecure
already)
This is required e.g. in Chrome and Firefox as described in this Google blog post.
- PHP >= 7.2.0
- Magento >= 1.9
For installation notes please see also our FAQ.
- Do a backup of your Magento installation for safety reasons.
- Disable Magento compilation feature (if activated): System > Tools > Compiler
- Run
composer require vianetz/secure-cookies-magento1
- Clone this repository into your modman folder and run
modman deploy-all
- Unzip the setup package and copy the contents of the
src/
folder into the Magento root folder. (The folder structure is the same as in your Magento installation. No files will be overwritten.) Please assure that the files are uploaded with the same file user permissions as the Magento installation!
- Clear the Magento cache (and related caches like APC/FPC/Opcache if available)
- Logout from the admin panel and then login again
- Enable the Magento compilation feature (if it was activated before): System > Tools > Compiler
We also offer paid installation services. If you are interested please contact me.
- Remove the folder
app/code/community/Vianetz/SecureCookies
- Remove the file
app/etc/modules/Vianetz_SecureCookies.xml
Please find the Frequently Asked Questions on our website.
If you have any issues or suggestions with this extension, please do not hesitate to contact me.
Christoph Massmann
https://www.vianetz.com
@vianetz
This Magento Extension uses Semantic Versioning - please find more information at http://semver.org.