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.
This functionality will hopefully be in D8 core, but for D7, download the D6 module and change all the occurrences of "6" to "7" in the .info file:
name = Cookie Check D7
description = Checks for cookie support when users are attempting to log in and provides an error message.
core = 7.x
; Information added by drupal.org packaging script on 2009-01-21
version = "7.x-1.0"
core = "7.x"
project = "cookie_check"
datestamp = "1232565009"
Comments
Comment #1
nedjo#2946-114: Login fails and no warning is issued if cookies are not enabled indicates that the approach would need to be rewritten for D7. I have no plans to do so, but would welcome patches or a new maintainer.
Comment #2
PROMESI updated the D6 version to D7 and don't have any problems. Both with and without the $cookie_domain set in settings.php it works.
Comment #3
kruser CreditAttribution: kruser commentedThis functionality will hopefully be in D8 core, but for D7, download the D6 module and change all the occurrences of "6" to "7" in the .info file: