Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 7.xUsing dev releases is not recommended, except for testing.
Using Composer to manage Drupal site dependencies
Downloads
Download supercookie-7.x-1.x-dev.tar.gztar.gz
19.25 KB
MD5: c84743ae6b69c5d3c4cd91fb638a3929
SHA-1: 0239b29ac2b859e125017c3a49304fd5625fab02
SHA-256: 1f02d11a4d43085a253702b193a7a032f3de8d4bdbb8414151e5c59be65ff87c
Download supercookie-7.x-1.x-dev.zipzip
21.46 KB
MD5: 105a6237a8f30048372106fd9237e43f
SHA-1: ba68aeeba8f63ff8190f5a050423c5c8ed6dedca
SHA-256: dad9d57c775525acc9ae60d2f3fe5763261b4102e35649e491c3d9635bcfa4e0
Release notes
- Refactored Supercookie class and removed global stuff. The object is now accessed in code like this:
\$supercookie = supercookie_instance();
- Made the HTTP header value the primary tracking method.
- Improved support for AJAX requests...all AJAX requests now also include the HTTP header if not yet present.
- Removed hook for saving of custom data in favor of direct
$supercookie->mergeCustom()
calls. - Added option to honor users DNT browser settings, enabled by default.
- Fixed support for MongoDB (using PECL extension functions directly, not via mongdb contrib).
- Consolidated variable_get stuff.
- Removed tid and nid tracking for now...these might be better as an add-on example mod.