Module issues no warning on user/login
sgriffin - November 5, 2009 - 13:31
| Project: | Cookie Check |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Module is enabled, cookies are set to prompt on ie 8, blocking cookie results in no warning.
Module does not come with documentation on its usage.

#1
I am afraid this may be by design as I am trying to use the module myself and it looks like the error: "It seems your browser does not accept cookies..." is displayed only after user tries to log onto the site.
I was hoping it would come up as soon user reaches the site. Is there a way to configure Cookie Check to do that?
I have a Webform block on the front page with CAPTCHA failing without an error message if user does not have cookies enabled.EDIT: I was wrong, the Webform gets submitted ok, but the status message does not show up if the user has cookies turned off. (see post #3)A simple README file in the module directory and/or info about the limitations on the project page would be helpful. Right now is trial and error process to figure out how this module is suppose to work.
Cheers
#2
Correct, warning is issued after user logs in.
I've updated the project page to try to make it clearer what the module does.
I agree it would be good to have the ability to set a warning before login. I think the problem, though, is that on the first page visit on a site there isn't yet a cookie set.
Still, we could check the referrer and, if it's an internal one (i.e., this is not the first page viewed on the site) set a message if cookies are not enabled.
#3
Thank you very much for clarifying this, Nedjo. Your module is a must for any Drupal site.
Do you know of a module that checks for cookie support?
I just discovered a problem where the DIV tag
<div class="messages status">... status message text ...</div>does not get displayed if browser has no cookies enabled.The
<div class="messages error">... error message text ...</div>shows up correctly even when cookies are disabled.I don't know enough about Drupal yet, but I think the status messages are called with the
theme_status_messages()function and the problem may be in core.If there was a way to check if cookies are enabled and alert the user, it sure would eliminate all sorts of issues.
Thank you for your time.
#4
Would it be possible to modify the Cookie Check module to make it work with Webform?