I have been using this module for a bit. Recently, I noticed the cookie isn't being set. My Drupal session is being set, and a cookie for Modal Pages is being set (when you click "Don't show this again.") My site uses almost no other cookies.

It was working, and I am not sure what changed.

Nothing is in the log, it just silently fails.

The row is created in the persistent_login table and is populated.

I have some rather strict security on the site, but it worked until a bit ago. I am not certain when it stopped, and unfortunately, I can't yet pinpoint it to any module I added or setting I changed.

The site is https all the time. I am using a CloudFlare CDN.

PHP 8.1.12
Drupal 10.1.2

What troubleshooting steps would you recommend?

If I find the issue is with some other module or setting, I will post it here in case anyone else has the same issue.

Thanks.

Comments

duckydan created an issue. See original summary.

duckydan’s picture

Status: Active » Closed (works as designed)

It was the Redirect After Login module. This pointed me in the right direction: https://www.drupal.org/project/persistent_login/issues/2916744

duckydan’s picture

I used this as a basis for custom code to do the redirect rather than using the Redirect After Login module.

https://drupal.stackexchange.com/questions/195170/redirect-after-user-login