Secure Frontend Cookie

Print

Secure Frontend Cookie

This module allows to secure the frontend cookie for stores that will run the entire site on https. This module is sponsored by offtheback.co.nz.

The source code of this extension is available on GitHub: https://github.com/lukanetconsult/mage-secure-cookie

Support

If you've found a bug, please open an issue at the project page on github.

For paid support in installation, resolving conflicts or professional Magento hosting, please contact us via e-mail at This email address is being protected from spambots. You need JavaScript enabled to view it..

License

This Magento extension is free software and released under the terms of the GNU Lesser General Public License version 3. The full license can be viewed in LICENSE.md and LICENSE.lesser.md.

You may also view the license texts at www.gnu.org

Configuration

After installing this module, you'll have an additional option to turn on secure cookies under System > Configuration > Web > Session Cookie Management in the Magento admin panel. Please note that this setting will mark the frontend cookie "Secure", only when the following conditions are met:

Possible Compatibility Issues

Core Rewrites

This module uses Magento's rewrite feature to extend the cookie model. There is no other option to implement this feature. The following classes are rewritten:

IMPORTANT: Magento class rewrites may cause conflicts with 3rd party extension. We try to avoid them whenever possible, but sometimes there is no other choice.