Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Set Cookie

Security covered Maintenance fixes only 21 sites

This module allows site builders to set cookies using Drupal's UI without writing code. Cookies can be set via Views or in the future via a block, and their presence can also be used to control block visibility.

Utility module for site builders that allow to set cookies without a line of code via different supported methods.

At the moment all cookies are set via javascript to interfere as less as possible with caching, but be aware that if you are using an external caching system this can interfere on that.

Current supported methods:

Views

Use case: You want to track if the current user has visited a given view. You add a Set Cookie Area to your view footer with the name and value of your cookie.

Future planned methods:

  • Block that sets a cookie

Existing integrations:

  • Block visibility: make a block visible or not based on a cookie.
Drupal 9–10 · not 11

Ask your assistant about Set Cookie

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Oct 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
2.1.0 Stable 9–10 Oct 5, 2023